Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
23 0 0 0 100% 0.855 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.855 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.003 s
GroovyScriptInterpreterTest 4 0 0 0 100% 0.318 s
BeanShellScriptInterpreterTest 2 0 0 0 100% 0.002 s
ScriptRunnerTest 12 0 0 0 100% 0.532 s

Test Cases

[Summary] [Package List] [Test Cases]

FileLoggerTest

outputFileNoMirror 0.001 s
outputFileWithMirror 0 s
nullOutputFileNoMirror 0.001 s
nullOutputFileWithMirrorWriteByte 0 s
nullOutputFileWithMirror 0.001 s

GroovyScriptInterpreterTest

testEvaluateScriptWithCustomClassPath 0.288 s
testEvaluateScriptVars 0.008 s
testEvaluateScript 0.008 s
testEvaluateScriptWithDefaultClassPath 0.006 s

BeanShellScriptInterpreterTest

testEvaluateScriptVars 0.001 s
testEvaluateScript 0.001 s

ScriptRunnerTest

testBeanshell 0.033 s
beanshellReturnedNotTrueShouldThrowException 0.003 s
testBeanshellWithFile 0.004 s
theSameClassloaderShouldBeUsed(String)[1] 0.240 s
theSameClassloaderShouldBeUsed(String)[2] 0.175 s
failedGroovyShouldCreateProperLogsMessage 0.010 s
testGroovyWithFile 0.026 s
groovyReturnedFalseShouldThrowException 0.006 s
failedBeanshellShouldCreateProperLogsMessage 0.004 s
beanshellReturnedNullShouldBeOk 0.003 s
testGroovy 0.011 s
groovyReturnedNullShouldBeOk 0.006 s