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 |
MUNIT_DEBUG_LOG_CLASSPATH |
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 void |
deployApplication(String applicationName,
org.mule.runtime.module.embedded.api.DeploymentConfiguration deploymentConfiguration,
String munitWorkingDirectoryPath,
org.mule.runtime.module.embedded.api.EmbeddedContainer container) |
static void |
main(String[] args) |
void |
run(RunConfiguration runConfig) |
protected boolean |
runSuite(RunConfiguration runConfig,
org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener,
String suitePath,
int port) |
void |
setContainerFactory(ContainerFactory containerFactory) |
public static final String SYSTEM_PROPERTIES_FILE
public static final String MUNIT_DEBUG_LOG_CLASSPATH
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 deployApplication(String applicationName, org.mule.runtime.module.embedded.api.DeploymentConfiguration deploymentConfiguration, String munitWorkingDirectoryPath, org.mule.runtime.module.embedded.api.EmbeddedContainer container) throws DeploymentException
DeploymentExceptionprotected boolean runSuite(RunConfiguration runConfig, org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener, String suitePath, int port)
protected RunnerClient buildRunnerClient(org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener, int port) throws IOException
IOExceptionprotected org.mule.munit.common.protocol.listeners.RemoteRunEventListener buildRunnerListener(List<NotifierConfiguration> configurations) throws IOException
IOExceptionCopyright © 2017. All rights reserved.