|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.github.searls.jasmine.AbstractJasmineMojo
public abstract class AbstractJasmineMojo
| Field Summary | |
|---|---|
protected String |
browserVersion
Determines the browser and version profile that HtmlUnit will simulate. |
protected File |
customRunnerConfiguration
Sometimes you want to have full control over how scriptloaders are configured. |
protected File |
customRunnerTemplate
It may be the case that the jasmine-maven-plugin doesn't currently suit all of your needs, and as a result the generated SpecRunner HTML files are set up in a way that you can't run your specs. |
protected boolean |
debug
True to increase HtmlUnit output and attempt reporting on specs even if a timeout occurred. |
protected String |
format
Determines the format that jasmine:test will print to console. |
protected boolean |
haltOnFailure
|
protected File |
jasmineTargetDir
|
protected String |
junitXmlReportFileName
|
protected String |
manualSpecRunnerHtmlFileName
|
protected org.apache.maven.project.MavenProject |
mavenProject
|
protected File |
packageDir
|
protected String |
packageJavaScriptPath
|
protected List<String> |
preloadSources
JavaScript sources (typically vendor/lib dependencies) that need to be loaded before other sources (and specs) in a particular order. |
protected String |
scriptLoaderPath
Path to loader script, relative to jsSrcDir. |
protected int |
serverPort
|
protected boolean |
skipTests
|
protected String |
sourceEncoding
|
protected ScriptSearch |
sources
|
protected String |
specDirectoryName
|
protected String |
specRunnerHtmlFileName
|
protected String |
specRunnerTemplate
Determines the strategy to use when generation the JasmineSpecRunner. |
protected ScriptSearch |
specs
|
protected String |
srcDirectoryName
|
protected StringifiesStackTraces |
stringifiesStackTraces
|
protected int |
timeout
Timeout for spec execution in seconds. |
protected String |
webDriverClassName
Determines the Selenium WebDriver class we'll use to execute the tests. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractJasmineMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
File |
getCustomRunnerConfiguration()
|
File |
getCustomRunnerTemplate()
|
File |
getJasmineTargetDir()
|
org.apache.maven.project.MavenProject |
getMavenProject()
|
List<String> |
getPreloadSources()
|
String |
getScriptLoaderPath()
|
String |
getSourceEncoding()
|
ScriptSearch |
getSources()
|
String |
getSpecDirectoryName()
|
String |
getSpecRunnerTemplate()
|
ScriptSearch |
getSpecs()
|
String |
getSrcDirectoryName()
|
abstract void |
run()
|
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String webDriverClassName
protected String browserVersion
BrowserVersion.
Some valid examples: FIREFOX_3_6, INTERNET_EXPLORER_6, INTERNET_EXPLORER_7, INTERNET_EXPLORER_8
protected String format
protected String packageJavaScriptPath
protected List<String> preloadSources
protected File customRunnerTemplate
protected File customRunnerConfiguration
protected File jasmineTargetDir
protected boolean skipTests
protected boolean haltOnFailure
protected int timeout
protected boolean debug
protected File packageDir
protected String specRunnerHtmlFileName
protected String manualSpecRunnerHtmlFileName
protected String junitXmlReportFileName
protected String specDirectoryName
protected String srcDirectoryName
protected String sourceEncoding
protected org.apache.maven.project.MavenProject mavenProject
protected int serverPort
protected String specRunnerTemplate
protected String scriptLoaderPath
protected ScriptSearch sources
protected ScriptSearch specs
protected StringifiesStackTraces stringifiesStackTraces
| Constructor Detail |
|---|
public AbstractJasmineMojo()
| Method Detail |
|---|
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public abstract void run()
throws Exception
Exceptionpublic String getSourceEncoding()
public File getCustomRunnerTemplate()
public String getSpecRunnerTemplate()
public File getJasmineTargetDir()
public String getSrcDirectoryName()
public ScriptSearch getSources()
public ScriptSearch getSpecs()
public String getSpecDirectoryName()
public List<String> getPreloadSources()
public org.apache.maven.project.MavenProject getMavenProject()
public File getCustomRunnerConfiguration()
public String getScriptLoaderPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||