Menu

#48 TestCaseGenerator - SequenceLengthCoverage plugin

open
nobody
None
5
2010-03-25
2010-03-25
jlocke
No

In the TestCaseGenerator tool, the SequenceLengthCoverage plugin appears to ignore the "max-number" variable in the properties file. When changing this number to a non-zero value, the plugin ignores the max-number and simply blindly generates all test cases.

Expected behavior:

When changing the max-number entry in the properties file to a non-zero value, that number of test cases should be generated

Actual behavior:

The SequenceLengthCoverage plugin will always generate the max number of test cases possible.

Platforms:

This bug is reproducible on Linux and Windows.

Steps to reproduce:

* Build the TestCaseGenerator
* Create a valid Project.EFG.xml file
* Modify the TestCaseGenerator.properties file to use the "SequenceLengthCoverage" plugin
* Also change the max-number to 5
* Run "ant -Dproperties=TestCaseGenerator.properties -f TestCaseGenerator.xml

The program will output a large number (greater than 5) test cases to the TC directory. This bug was discovered by experimenting with different parameters in the TestCaseGenerator.properties file and running the utility.

Discovered & reported by the TestCaseGenerator team (7 members)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB