Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
41 0 0 0 100% 1.446 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.freemarker 25 0 0 0 100% 1.382 s
org.mybatis.scripting.freemarker.support 16 0 0 0 100% 0.064 s

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

org.mybatis.scripting.freemarker

- Class Tests Errors Failures Skipped Success Rate Time
CustomizedDataContextTest 1 0 0 0 100% 0.881 s
FreeMarkerInAnnotationsTest 5 0 0 0 100% 0.157 s
FreeMarkerInXmlTest 5 0 0 0 100% 0.171 s
FreeMarkerLanguageDriverConfigTest 5 0 0 0 100% 0.021 s
InvalidFreeMarkerSettingTest 1 0 0 0 100% 0.008 s
PreparedDatabaseIdParamsTest 2 0 0 0 100% 0.050 s
PreparedParamsTest 3 0 0 0 100% 0.044 s
TemplateFilePathProviderMapperTest 3 0 0 0 100% 0.050 s

org.mybatis.scripting.freemarker.support

- Class Tests Errors Failures Skipped Success Rate Time
TemplateFilePathProviderTest 16 0 0 0 100% 0.064 s

Test Cases

[Summary] [Package List] [Test Cases]

CustomizedDataContextTest

test 0.076 s

FreeMarkerInAnnotationsTest

testNoParamsCall 0.004 s
testParamObject 0.028 s
testMyBatisParamCall 0.003 s
testInQuery 0.009 s
testStringParam 0.009 s

FreeMarkerInXmlTest

testNoParamsCall 0.003 s
testParamObject 0.002 s
testMyBatisParamCall 0.002 s
testInQuery 0.003 s
testStringParam 0.003 s

FreeMarkerLanguageDriverConfigTest

newInstanceWithEmptyPropertiesFile 0.005 s
newInstanceWithConsumer 0.003 s
newInstanceWithPropertiesFileNotFound 0.003 s
newInstanceWithCustomPropertiesFile 0.004 s
newInstanceWithCustomProperties 0.002 s

InvalidFreeMarkerSettingTest

unknownSetting 0.007 s

PreparedDatabaseIdParamsTest

testReferDatabaseIdInTemplate 0.018 s
testReferDatabaseIdInTemplateWithParam 0.005 s

PreparedParamsTest

testNoParamsCall 0.008 s
testParamsObjectCall 0.003 s
testInCall 0.006 s

TemplateFilePathProviderTest

customTemplateFileGenerator 0.005 s
fallbackDeclaringClassWithDatabaseId 0.004 s
includesPackagePathAndSeparatesDirectoryPerMapperIsFalse 0.002 s
withDatabaseId 0.003 s
defaultPackageMapperWithIncludesPackagePathIsFalse 0.003 s
withoutDatabaseId 0.002 s
prefix 0.003 s
notFoundSqlFileWithoutDatabaseId 0.004 s
fallbackWithDefaultDatabase 0.002 s
notFoundSqlFileWithoutFallbackDeclaringClass 0.003 s
notFoundSqlFile 0.003 s
baseDirEndWithSlash 0.010 s
fallbackDeclaringClassWithoutDatabaseId 0.003 s
includesMapperNameWhenSeparateDirectoryIsFalse 0.003 s
defaultPackageMapper 0.003 s
fallbackDeclaringClassAndDefaultDatabase 0.003 s

TemplateFilePathProviderMapperTest

testDelete 0.014 s
testInsert 0.002 s
testUpdate 0.006 s