This is the mail archive of the firstname.lastname@example.org mailing list for the Mauve project. See the Mauve home page for more information.
> > Godmar> This is where I give up and think mauve needs either > Godmar> improvement, documentation, or both. How do I get mauve to > Godmar> run a single test? > > echo 'gnu.testlet.java.beans.IntrospectorTest' | ./SimpleTestHarness ../mauve > Assuming you have a file "SimpleTestHarness" somewhere (which I don't) I do this instead: > echo 'gnu.testlet.java.beans.IntrospectorTest' | java gnu.testlet.SimpleTestHarness . FAIL: gnu.testlet.java.beans.IntrospectorTest: uncaught exception at number 1 1 of 1 tests failed > echo 'gnu.testlet.java.lang.Boolean.hashcode_Boolean' | java gnu.testlet.SimpleTestHarness . FAIL: gnu.testlet.java.lang.Boolean.hashcode_Boolean (number 1) FAIL: gnu.testlet.java.lang.Boolean.hashcode_Boolean (number 2) 2 of 2 tests failed And now it seems to have run the tests..., at least the output looks similar. One of my questions is still unanswered, though: how do I find out what exception was thrown? >From looking at SimpleTestHarness.runtest, there doesn't seem to be a way. How about adding a command line switch "verbose failure" that would print the exception and the backtrace if a test fails with an exception? - Godmar