net.bpelunit.framework.ui.command
Class BPELUnitCommandLineRunner

java.lang.Object
  extended by net.bpelunit.framework.BPELUnitRunner
      extended by net.bpelunit.framework.base.BPELUnitBaseRunner
          extended by net.bpelunit.framework.ui.command.BPELUnitCommandLineRunner
All Implemented Interfaces:
ITestResultListener

public class BPELUnitCommandLineRunner
extends BPELUnitBaseRunner
implements ITestResultListener

The command line runner for BPELUnit. This class is intended to be run from the command line. Note that you need to have all libraries, including those referenced in the extensions.xml extension file, on the class path. You also need to set the BPELUNIT_HOME environment variable. Invoke this class from the root directory of your test suite. All relative paths inside the test suite document will be resolved from the current directory.

Version:
$Id$
Author:
Philip Mayer

Field Summary
 
Fields inherited from class net.bpelunit.framework.base.BPELUnitBaseRunner
BPELUNIT_HOME_ENV, CONFIG_DIR, COVERAGETOOL_CONFIG_FILE_NAME, DEPLOYER_CONFIG_FILE_NAME, EXTENSIONS_FILE_NAME
 
Fields inherited from class net.bpelunit.framework.BPELUnitRunner
CHANGE_ENDPOINTS, GLOBAL_TIMEOUT, HALT_ON_ERROR, HALT_ON_FAILURE, MEASURE_COVERAGE, SKIP_UNKNOWN_EXTENSIONS
 
Constructor Summary
BPELUnitCommandLineRunner(Console consoleToUse, String[] args)
           
BPELUnitCommandLineRunner(String[] args)
           
 
Method Summary
 void configureLogging()
           
static void main(String[] args)
          Main method, to be started by the user.
 void progress(ITestArtefact test)
           
 void testCaseEnded(TestCase test)
           
 void testCaseStarted(TestCase test)
           
 
Methods inherited from class net.bpelunit.framework.base.BPELUnitBaseRunner
configureCoverageTool, configureDeployers, configureExtensions, configureInit, createNewDataSource, createNewDeployer, createNewHeaderProcessor, createNewSOAPEncoder, setHomeDirectory
 
Methods inherited from class net.bpelunit.framework.BPELUnitRunner
changeEndpoints, getCoverageMeasurmentTool, getGlobalConfigurationForDeployer, getTimeout, initialize, isHaltOnError, isHaltOnFailure, isSkipUnknownExtensions, loadTestSuite, measureTestCoverage, setCoverageMeasurmentTool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPELUnitCommandLineRunner

public BPELUnitCommandLineRunner(String[] args)

BPELUnitCommandLineRunner

public BPELUnitCommandLineRunner(Console consoleToUse,
                                 String[] args)
Method Detail

main

public static void main(String[] args)
Main method, to be started by the user.

Parameters:
args -

testCaseEnded

public void testCaseEnded(TestCase test)
Specified by:
testCaseEnded in interface ITestResultListener

testCaseStarted

public void testCaseStarted(TestCase test)
Specified by:
testCaseStarted in interface ITestResultListener

progress

public void progress(ITestArtefact test)
Specified by:
progress in interface ITestResultListener

configureLogging

public void configureLogging()
                      throws ConfigurationException
Specified by:
configureLogging in class BPELUnitBaseRunner
Throws:
ConfigurationException


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.