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
| Methods inherited from class org.faktorips.runtime.test.AbstractIpsTestRunner |
countTests, extractListFromString, getRepositories, getRepositoryListFromInputString, getRepositoryPackages, getTests, run, setAdditionalRepositoryPackages, setClassLoader, setRepositoryPackages, toStringFromList |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmdLineIpsTestRunner
public CmdLineIpsTestRunner(String repositoryPackages)
- Parameters:
repositoryPackages - package name of the classpath repository
main
public static void main(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 List<IRuntimeRepository> createRepositories()
throws ParserConfigurationException
- Description copied from class:
AbstractIpsTestRunner
- Creates the repositories. Where the test will be searched.
- Specified by:
createRepositories in class AbstractIpsTestRunner
- Throws:
ParserConfigurationException
testStarted
public void testStarted(IpsTest2 test)
testFinished
public void testFinished(IpsTest2 test)
testFailureOccured
public void testFailureOccured(IpsTestFailure failure)
Copyright © 2015. All rights reserved.