public abstract class AbstractTestMojo extends AbstractGemMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
modes
run tests with list of ruby modes 1.8, 1.9, 2.0
Command line -Djruby.modes=1.9,2.0 |
protected boolean |
skip
skip all tests
Command line -Dmaven.test.skip=... |
protected boolean |
skipTests
skip all tests
Command line -DskipTests=... |
protected File |
summaryReport
The name of the summary (xml-)report which can be used by TeamCity and Co.
|
protected File |
testReportDirectory |
protected Boolean |
use18and19
Deprecated.
|
protected String |
versions
run tests with a several versions of jruby
Command line -Djruby.versions=... |
binDirectory, gemHome, gemHomes, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeGemsInResources, includeLibDirectoryInResources, includeOpenSSL, includeRubygemsInResources, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzipargs, classRealm, DEFAULT_JRUBY_VERSION, env, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory| Constructor and Description |
|---|
AbstractTestMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeWithGems() |
protected abstract TestScriptFactory |
newTestScriptFactory() |
protected void |
runIt(JRubyRun run,
TestScriptFactory testScriptFactory) |
protected abstract JRubyRun.Result |
runIt(ScriptFactory factory,
JRubyVersion.Mode mode,
JRubyVersion version,
TestScriptFactory testScriptFactory) |
execute, executeJRuby, gemHome, getRemoteRepos, newScriptFactorygetJrubyVersion, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifactprotected File testReportDirectory
protected boolean skipTests
protected boolean skip
protected Boolean use18and19
protected String modes
protected String versions
protected File summaryReport
protected void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
IOException,
ScriptException,
GemException
executeWithGems in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionIOExceptionScriptExceptionGemExceptionprotected void runIt(JRubyRun run, TestScriptFactory testScriptFactory) throws org.apache.maven.plugin.MojoExecutionException, IOException, ScriptException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionScriptExceptionprotected abstract TestScriptFactory newTestScriptFactory()
protected abstract JRubyRun.Result runIt(ScriptFactory factory, JRubyVersion.Mode mode, JRubyVersion version, TestScriptFactory testScriptFactory) throws IOException, ScriptException, org.apache.maven.plugin.MojoExecutionException
IOExceptionScriptExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2014. All Rights Reserved.