Jartege: a Tool for Random Generation of Unit Tests for Java Classes

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

This report presents Jartege, a tool which allows random generation of unit tests for Java classes specified in JML. JML (Java Modeling Language) is a specification language for Java which allows one to write invariants for classes, and pre- and postconditions for operations. As in the JML-JUnit tool, we use JML specifications on the one hand to eliminate irrelevant test cases, and on the other hand as a test oracle. Jartege randomly generates test cases, which consist of a sequence of constructor and method calls for the classes under test. The random aspect of the tool can be parameterized by associating weights to classes and operations, and by controlling the number of instances which are created for each class under test. The practical use of Jartege is illustrated by a small case study.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Jartege: a Tool for Random Generation of Unit Tests for Java Classes does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Jartege: a Tool for Random Generation of Unit Tests for Java Classes, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Jartege: a Tool for Random Generation of Unit Tests for Java Classes will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-402929

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.