Skip to content

feat: add plan command #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 27, 2025
Merged

feat: add plan command #407

merged 4 commits into from
Mar 27, 2025

Conversation

rmarescu
Copy link
Member

@rmarescu rmarescu commented Mar 26, 2025

Note

Experimental feature

Follow-up on #402

New command npx shortest plan

Generates .shortest/{framework}/test-plan.json. Uses AI to generate up to 10 test plans based on the analysis.json file

Sample test-plan.json

Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shortest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 5:17am

@rmarescu rmarescu marked this pull request as ready for review March 27, 2025 05:32
@rmarescu rmarescu merged commit 7ced44c into main Mar 27, 2025
6 checks passed
@rmarescu rmarescu deleted the rmarescu/plan branch March 27, 2025 05:36
@github-project-automation github-project-automation bot moved this to Done in Shortest Mar 27, 2025
@rmarescu rmarescu added this to the v0.4.9 milestone Mar 28, 2025
rmarescu added a commit that referenced this pull request Mar 28, 2025
> [!NOTE]
> Experimental feature

Follow-up on #407

New command `npx shortest generate`

Generates `shortest/functional.test.ts` test file using the test plans
from `test-plan.json` file.

Samples:
https://gist.github.com/rmarescu/fb1ac56d2ae048d2d16a9b8d2f6ed356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant