sqlancer / sqlancer/sqlancer

TODO: Add Exception for TestRandomly.java

Open
#1,161 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.