Home

RecGen

RecGen is a random unit-test generation tool with MUT-aware sequence recommendation. RecGen automatically creates unit tests for Java classes, in JUnit format.

Documentation

A short paper Random Unit-Test Generation with MUT-aware Sequence Recommendation explains the basic idea, the algorithm, the implementation, and the experiments.

Source Code

  • RecGen.zip

We have tested RecGen with Eclipse 3.4 under Ubuntu 9.04 and Windows XP.

Evaluations

We have evaluated RecGen on three subject programs.

The resulting test suites generated by RecGen and other three random testing tools (JCrasher, Randoop, and ARTGen) are as follows.

  • The test suites generated on Berkeley DB
  • The test suites generated on JDSL
  • The test suites generated on JScience

Please refer to the short paper for the summary of the code coverage results.

Licensing

RecGen is distributed under the GNU GENERAL PUBLIC LICENSE.

Authors

Wujie Zheng, Qirun Zhang, Michael R. Lyu, and Tao Xie.