Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
45 0 0 0 100% 1.035 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.mybatis.scripting.velocity 27 0 0 0 100% 0.338 s
org.mybatis.scripting.velocity.use 18 0 0 0 100% 0.697 s

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

org.mybatis.scripting.velocity

- Class Tests Errors Failures Skipped Success Rate Time
InDirectiveTest 8 0 0 0 100% 0.293 s
TrimDirectiveTest 8 0 0 0 100% 0.020 s
VelocityLanguageDriverConfigTest 7 0 0 0 100% 0.020 s
WhereDirectiveTest 4 0 0 0 100% 0.005 s

org.mybatis.scripting.velocity.use

- Class Tests Errors Failures Skipped Success Rate Time
VelocityLanguageTest 18 0 0 0 100% 0.697 s

Test Cases

[Summary] [Package List] [Test Cases]

InDirectiveTest

ensureInClauseHasOneThousandAndOne 0.043 s
ensureInClauseHasTwoThousandAndOne 0.002 s
ensureInClauseHasOneThousand 0.002 s
ensureInClauseHasEmpty 0.003 s
ensureInClauseHasOne 0.001 s
ensureInClauseHasTwo 0.001 s
ensureInClauseHasTwoThousand 0.002 s
ensureInClauseHasThreeThousandAndOne 0.003 s

TrimDirectiveTest

simpleTest1 0.003 s
simpleTest2 0.002 s
simpleTest3 0.001 s
simpleTest4 0.002 s
simpleTest5 0.002 s
simpleTest6 0.001 s
simpleTest7 0.001 s
simpleTest8 0.001 s

VelocityLanguageTest

testDynamicSelectWithInDirectiveForOneThousand 0.081 s
testEmptyWhere 0.002 s
testSelectNamesWithFormattedParamSafe 0.019 s
testDynamicSelectWithIterationComplex 0.002 s
testTrim 0.001 s
testSelectKey 0.003 s
testSelectNamesWithFormattedParam 0.001 s
testDynamicSelectWithInDirectiveForOneThousandMinusOne 0.010 s
testEnumBinding 0.003 s
testSelectWithCustomUserDirective 0.002 s
testAdditionalContextAttributes 0.001 s
testDynamicSelectWithExpressionParams 0.003 s
testDynamicSelectWithIterationBoundary 0.008 s
testDynamicSelectWithIterationOverMap 0.002 s
testDynamicSelectWithInDirectiveForOneThousandPlusOne 0.009 s
testDynamicSelectWithInDirectiveForOneItem 0.002 s
testDynamicSelectWithIteration 0.002 s
testDynamicSelectWithPropertyParams 0.002 s

VelocityLanguageDriverConfigTest

newInstanceWithEmptyPropertiesFile 0.005 s
newInstanceWithLegacyPropertiesFile 0.004 s
invalidAdditionalContextAttributeValue 0.002 s
newInstanceWithConsumer 0.002 s
newInstanceWithPropertiesFileNotFound 0.001 s
newInstanceWithCustomPropertiesFile 0.001 s
newInstanceWithCustomProperties 0.001 s

WhereDirectiveTest

simpleTest1 0.001 s
simpleTest2 0 s
simpleTest3 0 s
simpleTest4 0 s