in

 

AgileJoe

Answering all world issues with, "...it depends..."

JUnit 4 TestSuite Declaration

This is mainly for my own reference but if it helps people out there great!  The documentation on this aspect of JUnit is very poor.

package agalliao.wealthManagment.domain;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;

@RunWith(Suite.class)
@Suite.SuiteClasses({
investmentTests.class,
catalogTests.class,
markerTests.class
})
public class AllTests {
// why on earth I need this class, I have no idea!
}
Published Apr 14 2008, 10:35 PM by Joe Ocampo
Filed under: ,

Comments

 

dhenton said:

what a lifesaver!!!! Thanks!!

September 18, 2008 10:43 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Copyright Los Techies 2007. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems