org.faktorips.runtime.test
Class CmdLineIpsTestRunner

java.lang.Object
  extended by org.faktorips.runtime.test.AbstractIpsTestRunner
      extended by 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

Field Summary
 
Fields inherited from class org.faktorips.runtime.test.AbstractIpsTestRunner
classLoader
 
Constructor Summary
CmdLineIpsTestRunner(String repositoryPackages)
           
 
Method Summary
protected  List<IRuntimeRepository> createRepositories()
          Creates the repositories.
static void main(String[] args)
          The entry point for the command line test runner.
 void testFailureOccured(IpsTestFailure failure)
           
 void testFinished(IpsTest2 test)
           
 void testStarted(IpsTest2 test)
           
 
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
 

Constructor Detail

CmdLineIpsTestRunner

public CmdLineIpsTestRunner(String repositoryPackages)
Parameters:
repositoryPackages - package name of the classpath repository
Method Detail

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.