Package org.faktorips.runtime.test
Class CmdLineIpsTestRunner
java.lang.Object
org.faktorips.runtime.test.AbstractIpsTestRunner
org.faktorips.runtime.test.CmdLineIpsTestRunner
- All Implemented Interfaces:
IpsTestListener
Command line test runner. Writes the result of the test run to the command line.
- Author:
- Joerg Ortmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<IRuntimeRepository>Creates the repositories.static voidThe 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
-
Constructor Details
-
CmdLineIpsTestRunner
- Parameters:
repositoryPackages- package name of the classpath repository
-
-
Method Details
-
main
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
Description copied from class:AbstractIpsTestRunnerCreates the repositories. Where the test will be searched.- Specified by:
createRepositoriesin classAbstractIpsTestRunner- Throws:
ParserConfigurationException
-
testStarted
-
testFinished
-
testFailureOccured
-