public class RemoteRunner extends Object
RunConfigurationParser.
The final goal of the class is to run each MUnit Test Suite file provided and report back the run results and the coverage
results.| Modifier and Type | Field and Description |
|---|---|
static String |
MULE_APPLICATION_JSON |
static String |
MUNIT_DEBUG_LOG_CLASSPATH |
static String |
MUNIT_SERVER_PORT |
static String |
SYSTEM_PROPERTIES_FILE |
| Constructor and Description |
|---|
RemoteRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected RunnerClient |
buildRunnerClient(org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener,
int port) |
protected org.mule.munit.common.protocol.listeners.RemoteRunEventListener |
buildRunnerListener(List<NotifierConfiguration> configurations) |
protected boolean |
isContainerFailure(RuntimeException e) |
static void |
main(String[] args) |
void |
run(RunConfiguration runConfig) |
protected void |
runSuite(RunConfiguration runConfig,
org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener,
String suite,
int port) |
void |
setContainerFactory(ContainerFactory containerFactory) |
public static final String MUNIT_SERVER_PORT
public static final String SYSTEM_PROPERTIES_FILE
public static final String MUNIT_DEBUG_LOG_CLASSPATH
public static final String MULE_APPLICATION_JSON
public static void main(String[] args) throws org.apache.commons.cli.ParseException, IOException, URISyntaxException
org.apache.commons.cli.ParseExceptionIOExceptionURISyntaxExceptionpublic void setContainerFactory(ContainerFactory containerFactory)
public void run(RunConfiguration runConfig) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionprotected void runSuite(RunConfiguration runConfig, org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener, String suite, int port) throws Exception
Exceptionprotected RunnerClient buildRunnerClient(org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener, int port) throws IOException
IOExceptionprotected boolean isContainerFailure(RuntimeException e)
protected org.mule.munit.common.protocol.listeners.RemoteRunEventListener buildRunnerListener(List<NotifierConfiguration> configurations) throws IOException
IOExceptionCopyright © 2017. All Rights Reserved.