Re: [opennms-devel] Trouble building Debian packages

Paul Donohue <[email protected]>
Newsgroups gmane.network.opennms.bugs
Message-ID <20080603174401.GO10872__15292.8750533194$1212515590$gmane$org@TopQuark.net>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.