@Mojo(name="test",
defaultPhase=TEST,
requiresDependencyResolution=TEST)
public class RUnitMojo
extends AbstractTestMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
skipRunit
skip the ruby unit tests
|
modes, skip, skipTests, summaryReport, testReportDirectory, versionsbinDirectory, gemHome, gemHomes, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeGemsInResources, includeLibDirectoryInResources, includeOpenSSL, includeProvidedRubygemsInResources, includeRubygemsInResources, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzipaddProjectClasspath, args, classRealm, DEFAULT_JRUBY_VERSION, eclipseRefresh, eclipseWatches, env, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory| Constructor and Description |
|---|
RUnitMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected TestScriptFactory |
newTestScriptFactory() |
protected JRubyRun.Result |
runIt(ScriptFactory factory,
JRubyVersion.Mode mode,
JRubyVersion version,
TestScriptFactory scriptFactory) |
executeWithGems, runItaddResource, executeJRuby, gemHome, getRemoteRepos, newScriptFactorygetDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact@Parameter(property="skipRunit",
defaultValue="false")
protected boolean skipRunit
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected JRubyRun.Result runIt(ScriptFactory factory, JRubyVersion.Mode mode, JRubyVersion version, TestScriptFactory scriptFactory) throws java.io.IOException, ScriptException, org.apache.maven.plugin.MojoExecutionException
runIt in class AbstractTestMojojava.io.IOExceptionScriptExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected TestScriptFactory newTestScriptFactory()
newTestScriptFactory in class AbstractTestMojoCopyright © 2019. All Rights Reserved.