test: Add Gherkin tests using Behave - #14
Merged
Merged
Conversation
Owner
|
Nice! Will be making great use of this as I do some upcoming refactorings. Thanks for putting it together. Love the AI process walkthrough btw. Great way to do things |
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.
This adds automated tests for every command except
dep cycleandmigrate-beads. This was part of an experiment porting the command to other languages, and I figured it could be useful to contribute the suite back upstream.The test format is Gherkin, making them readable as tests and executed using the harness in
features/steps/ticket_steps.py.Closes #8
AI use disclosure
The majority of this was AI generated based on my plan. The change is safe because it's test-only, and I believe I've done a reasonable job ensuring the tests are meaningful. Here was my process:
ticketscript.ticketscript.Here, "one-shot prompt" means Claude Opus 4.5. "Agent" means OpenHands with Claude Sonnet 4.5, except step 3 which was Claude Code.