A6. Test Input Generation Tools

DUE: 11:59PM, Saturday, 16 April 2016

20 points


Objectives

The goal of this assignment is to gain experience with some automatic test input generation tools.
  • RANDOOP: Click here for instructions on installation and usage.
  • JCrasher: Click here for instructions on installation and usage.
  • JCUTE: Click here for instructions on installation and usage.

Tasks

For Randoop each tool, do the following:
  1. Install the software.
  2. Generate test cases for this program. Source code for the program is available in the jar file.
  3. Explore the generated test inputs. Create a report showing the number of test cases generated. Comment on what you found interesting about the test inputs.
  4. Insert five ten faults one by one in the code. See if the generated test cases find them. Include a description of the fault (e.g., file name, line number, what you changed) and whether it was detected. If it was, describe the test case that detected it.

Submission

Type the answers to the above questions in a document called a6.pdf. Submit the file using Assignment Submission in Canvas.


Grading criteria

  • RANDOOP: 10 20 points
  • JCrasher: 10 points
  • JCUTE: 10 points