Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
45 0 0 0 100% 0.997 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.331 s
org.mybatis.scripting.velocity.use 18 0 0 0 100% 0.666 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.255 s
TrimDirectiveTest 8 0 0 0 100% 0.024 s
VelocityLanguageDriverConfigTest 7 0 0 0 100% 0.037 s
WhereDirectiveTest 4 0 0 0 100% 0.015 s

org.mybatis.scripting.velocity.use

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

Test Cases

[Summary] [Package List] [Test Cases]

InDirectiveTest

ensureInClauseHasOneThousandAndOne 0.034 s
ensureInClauseHasTwoThousandAndOne 0.004 s
ensureInClauseHasOneThousand 0.003 s
ensureInClauseHasEmpty 0.003 s
ensureInClauseHasOne 0.002 s
ensureInClauseHasTwo 0.002 s
ensureInClauseHasTwoThousand 0.002 s
ensureInClauseHasThreeThousandAndOne 0.003 s

TrimDirectiveTest

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

VelocityLanguageTest

testDynamicSelectWithInDirectiveForOneThousand 0.088 s
testEmptyWhere 0.002 s
testSelectNamesWithFormattedParamSafe 0.019 s
testDynamicSelectWithIterationComplex 0.001 s
testTrim 0.001 s
testSelectKey 0.003 s
testSelectNamesWithFormattedParam 0.002 s
testDynamicSelectWithInDirectiveForOneThousandMinusOne 0.019 s
testEnumBinding 0.004 s
testSelectWithCustomUserDirective 0.001 s
testAdditionalContextAttributes 0.002 s
testDynamicSelectWithExpressionParams 0.004 s
testDynamicSelectWithIterationBoundary 0.021 s
testDynamicSelectWithIterationOverMap 0.003 s
testDynamicSelectWithInDirectiveForOneThousandPlusOne 0.017 s
testDynamicSelectWithInDirectiveForOneItem 0.003 s
testDynamicSelectWithIteration 0.003 s
testDynamicSelectWithPropertyParams 0.004 s

VelocityLanguageDriverConfigTest

newInstanceWithEmptyPropertiesFile 0.004 s
newInstanceWithLegacyPropertiesFile 0.006 s
invalidAdditionalContextAttributeValue 0.005 s
newInstanceWithConsumer 0.003 s
newInstanceWithPropertiesFileNotFound 0.003 s
newInstanceWithCustomPropertiesFile 0.005 s
newInstanceWithCustomProperties 0.003 s

WhereDirectiveTest

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