Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
45 0 0 0 100% 0.973 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.312 s
org.mybatis.scripting.velocity.use 18 0 0 0 100% 0.661 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.253 s
TrimDirectiveTest 8 0 0 0 100% 0.028 s
VelocityLanguageDriverConfigTest 7 0 0 0 100% 0.023 s
WhereDirectiveTest 4 0 0 0 100% 0.008 s

org.mybatis.scripting.velocity.use

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

Test Cases

[Summary] [Package List] [Test Cases]

InDirectiveTest

ensureInClauseHasOneThousandAndOne 0.032 s
ensureInClauseHasTwoThousandAndOne 0.003 s
ensureInClauseHasOneThousand 0.002 s
ensureInClauseHasEmpty 0.003 s
ensureInClauseHasOne 0.002 s
ensureInClauseHasTwo 0.003 s
ensureInClauseHasTwoThousand 0.002 s
ensureInClauseHasThreeThousandAndOne 0.003 s

TrimDirectiveTest

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

VelocityLanguageTest

testDynamicSelectWithInDirectiveForOneThousand 0.090 s
testEmptyWhere 0.003 s
testSelectNamesWithFormattedParamSafe 0.018 s
testDynamicSelectWithIterationComplex 0.002 s
testTrim 0.001 s
testSelectKey 0.003 s
testSelectNamesWithFormattedParam 0.002 s
testDynamicSelectWithInDirectiveForOneThousandMinusOne 0.013 s
testEnumBinding 0.009 s
testSelectWithCustomUserDirective 0.002 s
testAdditionalContextAttributes 0.001 s
testDynamicSelectWithExpressionParams 0.004 s
testDynamicSelectWithIterationBoundary 0.012 s
testDynamicSelectWithIterationOverMap 0.004 s
testDynamicSelectWithInDirectiveForOneThousandPlusOne 0.014 s
testDynamicSelectWithInDirectiveForOneItem 0.002 s
testDynamicSelectWithIteration 0.001 s
testDynamicSelectWithPropertyParams 0.003 s

VelocityLanguageDriverConfigTest

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

WhereDirectiveTest

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