Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
20000100%2.284

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.module.groovy.servlets1000100%0.013
info.magnolia.module.groovy.support.classes19000100%2.271

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

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.013

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest11000100%0.399
GroovyModuleTest1000100%1.814
MgnlGroovyClassLoaderTest7000100%0.058

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0.012

GroovyClassFactoryTest

testDelegatesToDefaultClassFactoryToLoadJavaClasses0.054
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.002
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.012
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.061
testCanLoadFromClassPath0.026
testCanLoadClassFromRepo0.027
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.018
testFallsBackToClassPathIfScriptInRepoIsDisabled0.039
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.03
testRecompilesIfScriptInRepoWasModified0.075
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.049

GroovyModuleTest

testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript1.794

MgnlGroovyClassLoaderTest

testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.003
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.005
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.007
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.007
testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.017
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.016
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.002