DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24106>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24106

Suites are not reported correctly in JUnitReport





------- Additional Comments From [EMAIL PROTECTED]  2003-10-24 15:56 -------
I have a TestCase that does something like this:

public void MyTest extends TestCase(){
        public static Test suite("MyTestSuite") {
                TestSuite suite = new TestSuite();
                suite.addTest(new MyTest("testPerformance"));
                suite.addTest(new MyTest("testPerformance2"));
                suite.addTest(new CustomDataPoolTest("testPerformance"));
                suite.addTest(new CustomDataPoolTest("privatePerformanceTest"));
                return suite;
        }
        public void testPerformance(){
                //do something
        }
        public void testPerformance2(){
                //do something
        }
  ....
}

The output of the Junit Report will record:

Mytest
        testPerformance
        testPerformance2
        testPerformance
        privatePerformance



There doesn't appear to be a way to determine that the second testPerformance 
or privatePerformance tests orginated from a different TestCase class. It seems 
like the report should list the suite name instead of the TestCase Name.  For 
instance:


MyTestSuite
        MyTest.testPerformance
        MyTest.testPerformance2
        CustomDataPoolTest.testPerformance
        CustomDataPoolTest.privatePerformance

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to