feat(scaffold): ship qulib v0.7.0 — scaffoldTests core + CypressE2EAdapter + qulib_scaffold_tests MCP tool#78
Merged
Merged
Conversation
…caffold_tests MCP tool Implements scaffoldTests() in packages/core — crawls a URL via analyzeApp, renders NeutralScenarios through the adapter layer, and returns GeneratedTest[] + ProjectConfig (cypress.config.ts or playwright.config.ts). CypressE2EAdapter.render() now handles all 10 TestStep action types: navigate, click, type, assert-visible, assert-hidden, assert-text, assert-disabled, assert-count, wait, api-call. qulib_scaffold_tests MCP tool registered in packages/mcp — accepts url + optional framework + maxPagesToScan, returns generatedTests + projectConfig so an agent can write the files directly to a repo. Exports added to packages/core/src/index.ts: scaffoldTests, ScaffoldOptions, ScaffoldResult, ProjectConfig. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bump @qulib/core and @qulib/mcp to 0.7.0. Align @qulib/core peer dep in mcp/package.json to 0.7.0. Promote [Unreleased] CHANGELOG entry to [0.7.0] — 2026-05-30. Refresh package-lock.json. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scaffoldTests(url, options?)added to@qulib/core— crawls a URL viaanalyzeApp, rendersNeutralScenario[]through the adapter layer, and returnsGeneratedTest[]+ProjectConfig(ready-to-writecypress.config.ts/playwright.config.ts,package.jsondeps, and support files). Supportscypress-e2e(default) andplaywrightframeworks.CypressE2EAdapter.render()fully implemented — all 10TestStepaction types handled:navigate,click,type,assert-visible,assert-hidden,assert-text,assert-disabled,assert-count,wait,api-call.qulib_scaffold_testsMCP tool registered — agents can pass a URL and receivegeneratedTests+projectConfigto write a test repo directly, no manual test-writing required.0.7.0across@qulib/core,@qulib/mcp, and@qulib/corepeer dep alignment in mcp.Test plan
npm run build— clean TypeScript compile, no errorsnpm test— 118/118 pass (108 core + 10 MCP)$TAP_CORE_BLOCKLISTqulib_scaffold_testsvia MCP host (post-merge, pre-publish)npm publish— user to run frommainafter merge (@qulib/corefirst, then@qulib/mcp)Not in this PR
qulib scaffoldCLI command (Q2)v0.7.1baseline save/load/monitor (Q3)🤖 Generated with Claude Code