I have a simple test runner, that is executing a group of 3 tests, all configured with the HelperMacros.
For some reason that I cannot figure out, the tests are being run twice.
I am writing out the results twice -- once using the compiler outputer, once using the XML outputter. My understanding of the framework suggests that the tests should have been only run once (since I called the TestRunner.run method only once), but the result object would be used to write out results twice.
I figured this out while debugging a confusing test result (because the test was poorly written, and there was an error in my program, yay testing!).
What I would like to know is:
-Is this a known problem?
-Is there a reason for this?
-Is this potentially a bug?
If it is potentially a bug, I will spend the time to dig deeper and help find it, otherwise I will ignore it.
For reference I am using CPPUnit 1.10.0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a simple test runner, that is executing a group of 3 tests, all configured with the HelperMacros.
For some reason that I cannot figure out, the tests are being run twice.
I am writing out the results twice -- once using the compiler outputer, once using the XML outputter. My understanding of the framework suggests that the tests should have been only run once (since I called the TestRunner.run method only once), but the result object would be used to write out results twice.
I figured this out while debugging a confusing test result (because the test was poorly written, and there was an error in my program, yay testing!).
What I would like to know is:
-Is this a known problem?
-Is there a reason for this?
-Is this potentially a bug?
If it is potentially a bug, I will spend the time to dig deeper and help find it, otherwise I will ignore it.
For reference I am using CPPUnit 1.10.0