public class SuiteBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
suitePath |
protected org.mule.munit.common.protocol.listeners.SuiteRunEventListener |
suiteRunEventListener |
protected Set<String> |
tags |
protected List<String> |
testNames |
| Constructor and Description |
|---|
SuiteBuilder(String suitePath,
String parameterization,
TestComponentLocator testComponentLocator) |
| Modifier and Type | Method and Description |
|---|---|
Suite |
build()
Builds the Suite with a particular suite name, based on the mule context
|
protected Test |
test(BeforeTest beforeTest,
TestComponent test,
AfterTest afterTest,
MunitModule munitModule)
Create a test
|
SuiteBuilder |
withSuiteRunnerEventListener(org.mule.munit.common.protocol.listeners.SuiteRunEventListener suiteRunEventListener) |
SuiteBuilder |
withTags(Set<String> tags) |
SuiteBuilder |
withTestNames(List<String> testNames) |
protected String suitePath
protected org.mule.munit.common.protocol.listeners.SuiteRunEventListener suiteRunEventListener
public SuiteBuilder(String suitePath, String parameterization, TestComponentLocator testComponentLocator)
public SuiteBuilder withTestNames(List<String> testNames)
public SuiteBuilder withTags(Set<String> tags)
public SuiteBuilder withSuiteRunnerEventListener(org.mule.munit.common.protocol.listeners.SuiteRunEventListener suiteRunEventListener)
public Suite build()
protected Test test(BeforeTest beforeTest, TestComponent test, AfterTest afterTest, MunitModule munitModule)
beforeTest - MUnit flow to be run before the testtest - MUnit Flow that represents the testafterTest - MUnit flow to be run after the testCopyright © 2019. All rights reserved.