GivenWhenThen for Test Methods
Open
Nobody has claimed this yet.
new check
- Dominant language
- ABAP
- Stars
- 435
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
Based on Use given-when-then, can we have a Check recommending the test method to follow the GivenWhenThen style?
The check could scan for given, when, and then keywords in comments and methods within a test method.
Further Reference: GivenWhenThen by Martin Fowler
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue's Clean ABAP GivenWhenThen guidance and Martin Fowler reference, then inspect how existing checks identify test methods and comments. Define how the check should recognize given, when, and then and what order or completeness is required; done means the expected violations are specified and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100