Re: [opennms-devel] Unit Tests
Alex Bennee <[email protected]>
| Newsgroups | gmane.network.opennms.bugs |
|---|---|
| Message-ID | <1212652207.28854.3.camel__30116.655995562$1212652295$gmane$org@pitcairn.cambridgebroadband.com> |
On Thu, 2008-06-05 at 00:43 -0400, DJ Gregor wrote: > On Wed, 04 Jun 2008 19:03:54 +0100, "Alex Bennee" <[email protected]> > said: > > Paul said (in another thread): > > > I haven't actually tried running all of the tests for all of OpenNMS > > > at once, but if you need to run tests for a particular section > > > (subdirectory within the main OpenNMS source dir) of OpenNMS, just cd > > > into the directory and run mvn test > > > > This worked well for modules like opennms-test but failed horribly with > > all jvm's for opennms-services. Is there a canonical list of modules I > > need to run tests for? > > Unfortunately our CI (continuous integration) system is a little off its > rocker, and I know at least I haven't been able to use it for reliably > tracking test failures for a while. We likely have test failures in > many of our branches now. Ok, so I'm not going mad then, thats good :-) > If I remember correctly, you want to run the tests against a non-Sun > Java. My best suggestion would be to try running tests with Sun java, > then with the non-Sun java, and see what is different. That's what I have been doing. I've set up 3 separate VM's, one with each Java (java5, jav6, ojdk) to compare. However it's a fairly manual process running it in each directory with mvn -e test > log. I still haven't worked out the correct foo to run all the tests in one go. Are there any other dependencies required (aside from a working postgres?) to run through all the tests? -- Alex Bennee, Software Engineer I want to see people using Perl to glue things together creatively, not just technically but also socially. -- Larry Wall in <[email protected]> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel