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

And you can run individual tests if you know the names of the test classes by 
doing
mvn -Dtest=<name of test class> test

On Tue, Jun 03, 2008 at 10:59:15AM -0400, Jeff Gehlbach wrote:
> On Jun 3, 2008, at 10:25 AM, Alex Bennee wrote:
> > The wiki mentions JUnit a few times but I couldn't find a "How to run
> > the tests" page. Any hints?
> 
> It's been a while since I ran the tests from outside Eclipse, but I  
> think it just involves setting a property when running the "install"  
> target:
> 
> ./build.sh -Dmaven.test.skip=false install
> 
> I may not have the property name exactly right.
> 
> -jeff
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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

Reply via email to