spockframework / spockframework/spock
Add special handling for assert failures for strings that only differ in case.
Open
Nobody has claimed this yet.
Module-Core
Type-NewFeature
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 483
- PR merge metrics
- No merged PRs in 30d
Description
Originally reported on Google Code with ID 103
Add special handling for assert failures for strings that only differ in case. This
happens periodically to me and adding a better error message that "81% similar" might
be nice.
This is a small and questionable change, but might make a good plugin to be written
at a Hackergarten when you come to Basel :)
Reported by HamletDRC on 2010-07-07 09:49:29
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
No file, test, or entry point is named. Start by locating the assertion-failure handling and related tests, then determine how case-only string differences are currently reported. Done means those failures receive a clearer message indicating the strings are similar apart from case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100