automatically generate unit tests from real use interactions

Discussions

General J2EE: automatically generate unit tests from real use interactions

  1. Does anybody know of tools that automatically generate unit tests for you after it records a typical use case.

    Looking for something similar to JTest's "Class Sniffer." What it does is it records your interaction and generates unit tests that you can modify.

    Our main challenge is that to setup our tests we have to do a lot of data setup, and having something that can record a real interaction and capture the data so we don't have to manually create it would be awesome.

    There's some tools that does this for the front end work, recording HTTP requests, but we're looking for something to help out the backend code.

    Thanks
    Tinou

    Threaded Messages (1)

  2. ParaSoft JTest 7[ Go to top ]

    Check ParaSoft JTest:

    http://www.parasoft.com/jsp/products/home.jsp?product=Jtest

    I saw it in action at JavaOne. It is a bit pricy, but it worked well.