Randoop is an automatic unit test generator for Java. It automatically creates unit tests for your classes, in JUnit format.
1) Randoop generates unit tests using feedback-directed random test generation. In a nutshell, this technique randomly, but smartly, generates sequences of methods and constructor invocations for the classes under test, and uses the sequences to create tests.