org.sonatype.sisu.litmus.testsupport.junit
Class JUnitSupport
java.lang.Object
org.sonatype.sisu.litmus.testsupport.junit.JUnitSupport
public class JUnitSupport
- extends Object
Generic JUnit support utils.
- Since:
- 1.0
Method Summary |
void |
runUnitTests(Class... testClasses)
Run one or more JUnit tests sequentially in the order given. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnitSupport
public JUnitSupport()
runUnitTests
public void runUnitTests(Class... testClasses)
- Run one or more JUnit tests sequentially in the order given.
- Parameters:
testClasses
- the test classes to run
- Throws:
NullPointerException
- if testClasses is null
IllegalArgumentException
- if testClasses are not provided
AssertionFailedError
- if one or more test classes fail
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.