Package org.faktorips.runtime.test
Class CmdLineIpsTestRunner
- java.lang.Object
-
- org.faktorips.runtime.test.AbstractIpsTestRunner
-
- org.faktorips.runtime.test.CmdLineIpsTestRunner
-
- All Implemented Interfaces:
IpsTestListener
public class CmdLineIpsTestRunner extends AbstractIpsTestRunner
Command line test runner. Writes the result of the test run to the command line.- Author:
- Joerg Ortmann
-
-
Constructor Summary
Constructors Constructor Description CmdLineIpsTestRunner(java.lang.String repositoryPackages)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<IRuntimeRepository>createRepositories()Creates the repositories.static voidmain(java.lang.String[] args)The entry point for the command line test runner.voidtestFailureOccured(IpsTestFailure failure)voidtestFinished(IpsTest2 test)voidtestStarted(IpsTest2 test)-
Methods inherited from class org.faktorips.runtime.test.AbstractIpsTestRunner
countTests, extractListFromString, getClassLoader, getRepositories, getRepositoryListFromInputString, getRepositoryPackages, getTests, run, setAdditionalRepositoryPackages, setClassLoader, setRepositoryPackages, toStringFromList
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
The entry point for the command line test runner. The arguments are: args[0]: package name of the classpath repository args[1]: Name of the testsuite to run args[2]: additional classpath repositories (to find objects in the runtime environment)
-
createRepositories
protected java.util.List<IRuntimeRepository> createRepositories() throws javax.xml.parsers.ParserConfigurationException
Description copied from class:AbstractIpsTestRunnerCreates the repositories. Where the test will be searched.- Specified by:
createRepositoriesin classAbstractIpsTestRunner- Throws:
javax.xml.parsers.ParserConfigurationException
-
testStarted
public void testStarted(IpsTest2 test)
-
testFinished
public void testFinished(IpsTest2 test)
-
testFailureOccured
public void testFailureOccured(IpsTestFailure failure)
-
-