|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.AbstractGemMojo
de.saumya.mojo.rspec.RSpecMojo
public class RSpecMojo
executes the jruby command.
| Field Summary | |
|---|---|
protected File |
basedir
The project base directory |
protected List<String> |
classpathElements
The classpath elements of the project being tested. |
protected String |
outputDirectory
The directory where the RSpec report will be written to |
protected String |
reportName
The name of the RSpec report (optional, defaults to "rspec-report.html") |
protected boolean |
skipSpecs
|
protected boolean |
skipTests
The flag to skip tests (optional, defaults to "false") |
protected String |
specSourceDirectory
The directory containing the RSpec source files |
protected Properties |
systemProperties
List of system properties to set for the tests. |
| Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo |
|---|
binDirectory, gemArgs, gemHome, gemPath, gemsConfig, gemsInstaller, includeOpenSSL, installRDoc, installRI, manager |
| Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
|---|
args, classRealm, factory, GEM_RUBY_COMMAND, IRB_RUBY_COMMAND, IRB_SWING_RUBY_COMMAND, jrubyArgs, jrubyFork, jrubyVerbose, jrubyVersion, localRepository, logger, project, RAKE_RUBY_COMMAND, repositorySystem |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
RSpecMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
void |
executeWithGems()
|
| Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo |
|---|
executeJRuby, newScriptFactory |
| Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
|---|
launchDirectory, resolveJRUBYCompleteArtifact |
| 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 File basedir
protected List<String> classpathElements
protected boolean skipTests
protected boolean skipSpecs
protected String specSourceDirectory
protected String outputDirectory
protected String reportName
protected Properties systemProperties
| Constructor Detail |
|---|
public RSpecMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractJRubyMojoorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
IOException,
GemException
executeWithGems in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionException
ScriptException
IOException
GemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||