public class CucumberProjectContext extends AbstractProjectContext
additionalClasspath, projectProperties| Constructor and Description |
|---|
CucumberProjectContext(ProjectProperties projConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
protected minium.cucumber.config.CucumberProperties |
createEvaluationCucumberProperties(File resultsFile,
String featurePath) |
protected List<cucumber.runtime.Backend> |
getAllBackends(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
cucumber.runtime.io.ResourceLoader resourceLoader,
minium.cucumber.config.CucumberProperties cucumberProperties) |
StackTraceElement[] |
getExecutionStackTrace() |
protected List<minium.cucumber.rest.RemoteBackend> |
getRemoteBackends(minium.cucumber.config.CucumberProperties cucumberProperties) |
List<minium.cucumber.config.CucumberProperties.SnippetProperties> |
getSnippets() |
List<StepDefinitionDTO> |
getStepDefinitions() |
boolean |
isRunning() |
FeatureResult |
launchCucumber(LaunchInfo launchInfo,
String sessionId) |
protected void |
refreshAdditionalClasspath() |
protected void |
refreshConfiguration() |
protected List<Throwable> |
run(minium.cucumber.config.CucumberProperties cucumberProperties,
String sessionId,
String uri,
boolean isPreview) |
protected void |
sendSnippets(cucumber.runtime.Runtime runtime,
String sessionId) |
afterPropertiesSet, applyPlaceholderReplacements, createJsEngine, destroy, eval, getAppConfigBean, loadConfiguration, loadedDependencies, resetEngine, root, toString, updateDependenciespublic CucumberProjectContext(ProjectProperties projConfiguration) throws Exception
Exceptionprotected void refreshConfiguration()
throws Exception
refreshConfiguration in class AbstractProjectContextExceptionprotected void refreshAdditionalClasspath()
throws MavenDependencyProvider.MavenException,
IOException
refreshAdditionalClasspath in class AbstractProjectContextMavenDependencyProvider.MavenExceptionIOExceptionpublic FeatureResult launchCucumber(LaunchInfo launchInfo, String sessionId) throws Exception
Exceptionpublic List<StepDefinitionDTO> getStepDefinitions()
public StackTraceElement[] getExecutionStackTrace()
getExecutionStackTrace in class AbstractProjectContextpublic boolean isRunning()
isRunning in class AbstractProjectContextpublic void cancel()
cancel in class AbstractProjectContextpublic List<minium.cucumber.config.CucumberProperties.SnippetProperties> getSnippets()
protected List<minium.cucumber.rest.RemoteBackend> getRemoteBackends(minium.cucumber.config.CucumberProperties cucumberProperties)
protected minium.cucumber.config.CucumberProperties createEvaluationCucumberProperties(File resultsFile, String featurePath)
protected List<Throwable> run(minium.cucumber.config.CucumberProperties cucumberProperties, String sessionId, String uri, boolean isPreview)
protected List<cucumber.runtime.Backend> getAllBackends(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, cucumber.runtime.io.ResourceLoader resourceLoader, minium.cucumber.config.CucumberProperties cucumberProperties) throws IOException
IOExceptionprotected void sendSnippets(cucumber.runtime.Runtime runtime,
String sessionId)
Copyright © 2021 VILT Group. All rights reserved.