From: Brad C. <bc...@bo...> - 2003-07-10 17:56:46
|
I tried to run the junitui target in the ant build.xml and it doesn't look like it's been updated in a while. I the updated it to look like the junit target (with the exception of the swingui runner) and it gives 1 failure and 191 errors by default. I ran the junit target to make sure and all the tests passed without error. Unchecking the "Reload classes every run" box (which I can't figure out how to do without running all the tests once first) makes all but one test pass. I then found this on the junit site (which, along with most sf.net sites seems to be down right now...): http://junit.sourceforge.net/doc/faq/faq.htm#running_8 Curious, I tried making this file exclude all items and putting it in the classpath at the top of base.class.path, but it didn't work. I suspect it's because it still wasn't getting into the classpath before junit.jar meaning this isn't something that easily can be changed from inside the build process. I was considering trying to use junitx.util.DirectorySuiteBuilder to build the test suite in MainTestSuite instead of the gsbase stuff (only because I don't know anything about gsbase yet) but I thought I'd bring it up here before I go screwing with things. Has this kind of thing happened before? It should be noted that I don't really see much use in the swingui for this project either, but I'd like to use it for another project where the people who should run the tests are not Java developers and a gui test runner would make things easier on them. I figure this one wouldn't be here unless -somebody- wanted it so I may as well try and fix it in the process :) Brad C |