Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: add plan command #407

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

@rmarescu rmarescu self-assigned this Mar 26, 2025
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
@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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant