TODO: Add Exception for TestRandomly.java
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 397
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 3
Description
Description
- The testInteger() method in TestRandomly was missing Exception method.
- The testLong() method in TestRandomly was missing Exception method.
Expected Behavior
- testInteger() should add one assertThows method which handles exception
- testLong() should add one assertThows method which handles exception
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
Open TestRandomly.java and inspect the testInteger() and testLong() methods to understand the existing assertions and exception-handling patterns. Add the missing exception assertions described in the issue, then run the relevant test suite and confirm both methods exercise and verify the expected exceptions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100