Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
19000100%2.497

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.support.classes19000100%2.497

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

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest11000100%0.468
GroovyModuleTest1000100%1.965
MgnlGroovyClassLoaderTest7000100%0.064

Test Cases

[Summary] [Package List] [Test Cases]

GroovyClassFactoryTest

testDelegatesToDefaultClassFactoryToLoadJavaClasses0.04
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.003
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.011
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.065
testCanLoadFromClassPath0.031
testCanLoadClassFromRepo0.036
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.016
testFallsBackToClassPathIfScriptInRepoIsDisabled0.042
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.049
testRecompilesIfScriptInRepoWasModified0.135
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.034

GroovyModuleTest

testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript1.947

MgnlGroovyClassLoaderTest

testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.003
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.012
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.008
testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.014
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.017
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.007