Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
23 0 0 0 100% 0.972 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.maven.shared.scriptinterpreter 23 0 0 0 100% 0.972 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.maven.shared.scriptinterpreter

- Class Tests Errors Failures Skipped Success Rate Time
FileLoggerTest 5 0 0 0 100% 0.009 s
GroovyScriptInterpreterTest 4 0 0 0 100% 0.406 s
BeanShellScriptInterpreterTest 2 0 0 0 100% 0.002 s
ScriptRunnerTest 12 0 0 0 100% 0.555 s

Test Cases

[Summary] [Package List] [Test Cases]

FileLoggerTest

outputFileNoMirror(File) 0.003 s
outputFileWithMirror(File) 0.002 s
nullOutputFileNoMirror 0 s
nullOutputFileWithMirrorWriteByte 0.001 s
nullOutputFileWithMirror 0 s

GroovyScriptInterpreterTest

evaluateScriptWithCustomClassPath 0.358 s
evaluateScript 0.020 s
evaluateScriptVars 0.010 s
evaluateScriptWithDefaultClassPath 0.006 s

BeanShellScriptInterpreterTest

evaluateScript 0.001 s
evaluateScriptVars 0.001 s

ScriptRunnerTest

beanshell 0.044 s
groovy 0.087 s
beanshellReturnedNotTrueShouldThrowException 0.004 s
theSameClassloaderShouldBeUsed(String)[1] 0.218 s
theSameClassloaderShouldBeUsed(String)[2] 0.144 s
failedGroovyShouldCreateProperLogsMessage 0.008 s
groovyReturnedFalseShouldThrowException 0.005 s
failedBeanshellShouldCreateProperLogsMessage 0.005 s
beanshellReturnedNullShouldBeOk 0.003 s
groovyReturnedNullShouldBeOk 0.005 s
beanshellWithFile 0.004 s
groovyWithFile 0.011 s