de.saumya.mojo.rspec
Class RSpecMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.AbstractGemMojo
de.saumya.mojo.rspec.RSpecMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class RSpecMojo
- extends AbstractGemMojo
executes the jruby command.
|
Field Summary |
protected java.io.File |
basedir
The project base directory |
protected java.util.List<java.lang.String> |
classpathElements
The classpath elements of the project being tested. |
protected java.lang.String |
outputDirectory
The directory where the RSpec report will be written to |
protected java.lang.String |
reportName
The name of the RSpec report (optional, defaults to "rspec_report.html") |
protected boolean |
skipTests
The flag to skip tests (optional, defaults to "false") |
protected java.lang.String |
specSourceDirectory
The directory containing the RSpec source files |
protected java.util.Properties |
systemProperties
List of system properties to set for the tests. |
| Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
artifactFactory, artifacts, builder, fork, gemHome, gemPath, home, launchDirectory, launchMemory, localRepository, metadata, outputFile, project, remoteRepositories, resolver, verbose, version |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
basedir
protected java.io.File basedir
- The project base directory
classpathElements
protected java.util.List<java.lang.String> classpathElements
- The classpath elements of the project being tested.
skipTests
protected boolean skipTests
- The flag to skip tests (optional, defaults to "false")
specSourceDirectory
protected java.lang.String specSourceDirectory
- The directory containing the RSpec source files
outputDirectory
protected java.lang.String outputDirectory
- The directory where the RSpec report will be written to
reportName
protected java.lang.String reportName
- The name of the RSpec report (optional, defaults to "rspec_report.html")
systemProperties
protected java.util.Properties systemProperties
- List of system properties to set for the tests.
RSpecMojo
public RSpecMojo()
executeWithGems
public void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
executeWithGems in class AbstractGemMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2010. All Rights Reserved.