Description
JCrasher is an automatic robustness testing tool for Java code. JCrasher examines the type information of a set of Java classes and constructs code fragments that will create instances of different types to test the behavior of public methods under random data. JCrasher attempts to detect bugs by causing the program under test to “crash”–to throw an undeclared runtime exception. Although in general the random testing approach has many limitations, it also has the advantage of being completely automatic: no supervision is required except for online inspection of the test cases that have caused a crash. Compared to other similar commercial and research tools, JCrasher offers several novelties:
- JCrasher transitively analyzes methods, determines the size of each tested method’s parameter-space and selects parameter combinations and therefore test cases at random, taking into account the time allocated for testing
- JCrasher defines heuristics for determining whether a Java exception should be considered a program bug or the JCrasher supplied inputs have violated the code’s preconditions
- JCrasher includes support for efficiently undoing all the state changes introduced by previous tests
- JCrasher produces test files forĀ JUnit–a popular Java testing tool
- JCrasher can be integrated in the Eclipse IDE
Details
- Listing categories Robustness
- Licence Open Source
- Status Inactive
- Supported Technology Java
- User Interface Command line
Post New Review
You must be logged in to post a comment.