Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
223 0 0 15 93.3% 14.31 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.spring.batch.builder 11 0 0 0 100% 0.996 s
org.mybatis.spring.config 12 0 0 0 100% 1.914 s
org.mybatis.spring.sample 10 0 0 0 100% 1.951 s
org.mybatis.spring.submitted.autowire 1 0 0 0 100% 0.084 s
org.mybatis.spring.transaction 4 0 0 0 100% 0.017 s
org.mybatis.spring.submitted.webapp_placeholder 1 0 0 0 100% 0.114 s
org.mybatis.spring.support 6 0 0 0 100% 0.042 s
org.mybatis.spring.annotation 20 0 0 0 100% 0.951 s
org.mybatis.spring.filter.xml 12 0 0 0 100% 1.351 s
org.mybatis.spring.asyncsynchronization 11 0 0 11 0% 0.002 s
org.mybatis.spring.mapper 27 0 0 0 100% 1.435 s
org.mybatis.spring.batch 11 0 0 0 100% 3.941 s
org.mybatis.spring.submitted.xa 4 0 0 4 0% 0 s
org.mybatis.spring 78 0 0 0 100% 0.960 s
org.mybatis.spring.filter 15 0 0 0 100% 0.553 s

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

org.mybatis.spring.batch.builder

- Class Tests Errors Failures Skipped Success Rate Time
MyBatisBatchItemWriterBuilderTest 4 0 0 0 100% 0.934 s
MyBatisCursorItemReaderBuilderTest 3 0 0 0 100% 0.047 s
MyBatisPagingItemReaderBuilderTest 4 0 0 0 100% 0.015 s

org.mybatis.spring.config

- Class Tests Errors Failures Skipped Success Rate Time
NamespaceTest 12 0 0 0 100% 1.914 s

org.mybatis.spring.sample

- Class Tests Errors Failures Skipped Success Rate Time
SampleBatchTest 1 0 0 0 100% 0.411 s
SampleEnableTest 1 0 0 0 100% 0.180 s
SampleJavaConfigTest 2 0 0 0 100% 0.124 s
SampleJobJavaConfigTest 1 0 0 0 100% 0.362 s
SampleJobXmlConfigTest 1 0 0 0 100% 0.368 s
SampleMapperTest 1 0 0 0 100% 0.114 s
SampleNamespaceTest 1 0 0 0 100% 0.094 s
SampleScannerTest 1 0 0 0 100% 0.114 s
SampleSqlSessionTest 1 0 0 0 100% 0.184 s

org.mybatis.spring.submitted.autowire

- Class Tests Errors Failures Skipped Success Rate Time
AutowireTest 1 0 0 0 100% 0.084 s

org.mybatis.spring.transaction

- Class Tests Errors Failures Skipped Success Rate Time
SpringTransactionManagerTest 4 0 0 0 100% 0.017 s

org.mybatis.spring.submitted.webapp_placeholder

- Class Tests Errors Failures Skipped Success Rate Time
WebappPlaceholderTest 1 0 0 0 100% 0.114 s

org.mybatis.spring.support

- Class Tests Errors Failures Skipped Success Rate Time
SqlSessionDaoSupportTest 6 0 0 0 100% 0.042 s

org.mybatis.spring.annotation

- Class Tests Errors Failures Skipped Success Rate Time
MapperScanTest 20 0 0 0 100% 0.951 s

org.mybatis.spring.filter.xml

- Class Tests Errors Failures Skipped Success Rate Time
XmlScanFilterTest 12 0 0 0 100% 1.351 s

org.mybatis.spring.asyncsynchronization

- Class Tests Errors Failures Skipped Success Rate Time
SqlSessionTemplateAsyncAfterCompletionTest 11 0 0 11 0% 0.002 s

org.mybatis.spring.mapper

- Class Tests Errors Failures Skipped Success Rate Time
ClassPathMapperScannerAnnotationTest 1 0 0 0 100% 0.008 s
MapperFactoryBeanTest 7 0 0 0 100% 0.102 s
MapperScannerConfigurerTest 19 0 0 0 100% 1.325 s

org.mybatis.spring.batch

- Class Tests Errors Failures Skipped Success Rate Time
MyBatisBatchItemWriterTest 5 0 0 0 100% 1.347 s
MyBatisCursorItemReaderTest 2 0 0 0 100% 0.092 s
SpringBatchTest 4 0 0 0 100% 2.502 s

org.mybatis.spring.submitted.xa

- Class Tests Errors Failures Skipped Success Rate Time
UserServiceTest 4 0 0 4 0% 0 s

org.mybatis.spring

- Class Tests Errors Failures Skipped Success Rate Time
MyBatisExceptionTranslatorTest 5 0 0 0 100% 0.196 s
MyBatisSpringTest 24 0 0 0 100% 0.299 s
SqlSessionFactoryBeanTest 38 0 0 0 100% 0.384 s
SqlSessionTemplateTest 11 0 0 0 100% 0.081 s

org.mybatis.spring.filter

- Class Tests Errors Failures Skipped Success Rate Time
ScanFilterTest 15 0 0 0 100% 0.553 s

Test Cases

[Summary] [Package List] [Test Cases]

MapperScanTest

testScanWithMapperScanIsRepeat 0.432 s
testInterfaceScan 0.075 s
testScanWithExplicitSqlSessionFactory 0.030 s
testProcessPropertyPlaceHoldersIsTrue 0.097 s
testScanWithDefaultMapperScanAndRepeat 0.016 s
testScanWithDefaultMapperScans 0.014 s
testMarkerInterfaceAndAnnotationScan 0.029 s
testLazyScanWithPropertySourcesPlaceholderConfigurer 0.015 s
testDefaultMapperScan 0.024 s
testAnnotationScan 0.017 s
testScopedProxyMapperScanByDefaultScope 0.028 s
testNameGenerator 0.019 s
testScanWithMapperScans 0.010 s
testLazyConfigWithPropertySource 0.011 s
testMarkerInterfaceScan 0.018 s
testInterfaceScanWithPackageClasses 0.017 s
testScanWithNameConflict 0.021 s
testScanWithExplicitSqlSessionTemplate 0.019 s
testProcessPropertyPlaceHoldersIsFalse 0.011 s
testCustomMapperFactoryBean 0.017 s

SqlSessionTemplateAsyncAfterCompletionTest

testGetConnectionInTx 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testClose 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testExecutorType 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testWithTxRequired 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testRollback 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testExceptionTranslationShouldThrowDataAccessException 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testGetConnection 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testExceptionTranslationShouldThrowMyBatisSystemException 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testCommit 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testTemplateWithNoTxInsert 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -
testTemplateWithNoTxSelect 0 s
- class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled -

MyBatisBatchItemWriterBuilderTest

testConfigurationUsingSqlSessionTemplate 0.921 s
testConfigurationSetItemToParameterConverter 0.004 s
testConfigurationUsingSqlSessionFactory 0.003 s
testConfigurationAssertUpdatesIsFalse 0.004 s

MyBatisCursorItemReaderBuilderTest

testConfigurationMaxItemCount 0.041 s
testConfiguration 0.002 s
testConfigurationSaveStateIsFalse 0.002 s

MyBatisPagingItemReaderBuilderTest

testConfigurationMaxItemCount 0.006 s
testConfiguration 0.002 s
testConfigurationPageSize 0.002 s
testConfigurationSaveStateIsFalse 0.002 s

MyBatisBatchItemWriterTest

testZeroBatchResultShouldThrowException 1.246 s
testItemToParameterConverterIsDefault 0.015 s
testSetItemToParameterConverter 0.023 s
testItemToParameterConverterIsNull 0.018 s
testZeroUpdateCountShouldThrowException 0.019 s

MyBatisCursorItemReaderTest

testCloseOnFailing 0.080 s
testCloseBeforeOpen 0.004 s

SpringBatchTest

shouldDuplicateSalaryOfAllEmployees 0.123 s
checkPagingReadingWithNestedInResultMap 0.037 s
checkCursorReadingWithNestedInResultMap 0.038 s
checkCursorReadingWithoutNestedInResultMap 0.424 s

NamespaceTest

testScanWithMapperFactoryBeanClass 0.597 s
testInterfaceScan 0.112 s
testScanWithExplicitSqlSessionFactory 0.121 s
testLazy 0.165 s
processPropertyPlaceHoldersIsTrue 0.308 s
testMarkerInterfaceAndAnnotationScan 0.093 s
testAnnotationScan 0.095 s
testDefaultScope 0.084 s
testNameGenerator 0.110 s
testMarkerInterfaceScan 0.078 s
processPropertyPlaceHoldersIsFalse 0.077 s
testScanWithExplicitSqlSessionTemplate 0.058 s

ScanFilterTest

testAssignableScanFilter 0.041 s
testAspectJScanFilter 0.242 s
testRegexWithPlaceHolderScanFilter1 0.035 s
testAnnoScanFilter 0.019 s
multiPatternRegexScanFilter 0.021 s
invalidPropertyPattern 0.007 s
combinedScanFilter 0.026 s
multiPatternAspectJScanFilter 0.039 s
invalidTypeFilter 0.006 s
testRegexScanFilter 0.021 s
testRegexWithPlaceHolderScanFilter 0.009 s
invalidPropertyClasses 0.008 s
processPropertyPlaceHoldersSwitchTest 0.010 s
testCustomScanFilter 0.031 s
processPropertyPlaceHoldersSwitchTest1 0.019 s

XmlScanFilterTest

testScanWithPlaceHolderFilter1 0.233 s
testAspectJScanFilter 0.141 s
warpedClassNotFoundException 0.015 s
testAnnoScanFilter 0.187 s
invalidPropertyPattern 0.037 s
testRegexScanFilter 0.149 s
testAssignScanFilter 0.106 s
invalidPatternFilter 0.014 s
processPropertyPlaceHoldersSwitchTest 0.015 s
testCustomScanFilter 0.123 s
testScanWithPlaceHolderFilter 0.151 s
testCombinedScanFilter 0.116 s

ClassPathMapperScannerAnnotationTest

annotationTypeIsNotRegisteredAsMapper 0.007 s

MapperFactoryBeanTest

testWithNonSpringTransactionFactory 0.050 s
testAddToConfigFalse 0.002 s
testBasicUsage 0.002 s
testNonSpringWithTx 0.002 s
testNonSpringTxMgrWithTx 0.002 s
testAddToConfigTrue 0.013 s
testWithTx 0.002 s

MapperScannerConfigurerTest

testScanWithMapperFactoryBeanClass 0.022 s
testInterfaceScan 0.023 s
testScanWithExplicitSqlSessionFactory 0.019 s
testScopedProxyMapperScanByDefault 0.024 s
testScanWithPropertyPlaceholders 0.101 s
testScanWithStringAndClassConstructorMapperFactoryBeanClass 0.034 s
testSkipMapperScanWithAotGeneratedArtifacts 0.006 s
testMarkerInterfaceAndAnnotationScan 0.032 s
testMapperBeanAttribute 0.025 s
testAnnotationScan 0.031 s
testMapperBeanOnConditionalProperties 0.028 s
testNameGenerator 0.021 s
testMarkerInterfaceScan 0.022 s
testScanWithStringConstructorMapperFactoryBeanClass 0.039 s
testScanWithNameConflict 0.028 s
testMapperScannerConfigurerRegisteredInAotGeneratedRuntime 0.746 s
testScanWithExplicitSqlSessionFactoryViaPlaceholder 0.052 s
testScanWithExplicitSqlSessionTemplate 0.027 s
testScopedProxyMapperScan 0.021 s

MyBatisExceptionTranslatorTest

shouldNestedPersistenceExceptionReportsMsgOfChildExceptionIfParentsMsgIsNull 0.088 s
shouldNestedPersistenceExceptionReportsMsgOfParentException 0.001 s
shouldNonPersistenceExceptionBeTranslatedToNull 0.049 s
shouldPersistenceExceptionBeTranslatedToMyBatisSystemException 0.002 s
shouldSqlExceptionBeTranslatedToUncategorizedSqlException 0.012 s

MyBatisSpringTest

testWithNonSpringTransactionFactory 0.003 s
testWithInterleavedTx 0.005 s
testBatchWithError 0.012 s
testMyBatisAPIWithCommit 0.005 s
testMyBatisAPI 0.002 s
testSpringAPIWithRollback 0.003 s
testSqlSessionCommitWithTx 0.002 s
testBatch 0.004 s
testWithTxSupports 0.004 s
testWithJtaTxManagerAndNonSpringTxManager 0.114 s
testChangeExecutorTypeInTxRequiresNew 0.001 s
testWithJtaTxManager 0.004 s
testSuspendAndResume 0.002 s
testBatchInTx 0.002 s
testSpringAPIWithMyBatisClose 0.004 s
testWithTxRequired 0.006 s
testNonSpringTxFactoryWithTx 0.003 s
testSpringAPIWithCommit 0.003 s
testChangeExecutorTypeInTx 0.002 s
testNonSpringTxFactoryNonSpringDSWithTx 0.002 s
testRollbackWithTxSupports 0.010 s
testMyBatisAPIWithRollback 0.015 s
testSpringAPI 0.008 s
testBatchInTxWithError 0.040 s

SampleBatchTest

testFooService 0.012 s

SampleEnableTest

testFooService 0.024 s

SampleJavaConfigTest

testWithMapperFactoryBean 0.008 s
test 0.007 s

SampleJobJavaConfigTest

testJob 0.073 s

SampleJobXmlConfigTest

testJob 0.079 s

SampleMapperTest

testFooService 0.005 s

SampleNamespaceTest

testFooService 0.005 s

SampleScannerTest

testFooService 0.008 s

SampleSqlSessionTest

testFooService 0.022 s

SqlSessionFactoryBeanTest

testNullTransactionFactoryClass 0.002 s
testSetConfiguration 0.001 s
testSpecifyConfigurationAndConfigLocation 0.004 s
testSearchATypeHandlerPackageWithSamePackage 0.059 s
testNullDataSource 0.002 s
testAddATypeAlias 0.002 s
testSearchATypeAliasPackage 0.019 s
testAppendableMethodWithEmpty 0.005 s
testScriptingLanguageDriver 0.001 s
testMapperLocationsWithNullEntry 0.001 s
testEmptyMapperLocations 0 s
testEmptyStringEnvironment 0 s
testAddCache 0 s
testSpecifyVariablesAndConfigurationProperties 0.001 s
testSetConfigLocation 0.020 s
testSearchATypeHandlerPackage 0.034 s
testSearchATypeAliasPackageWithSamePackage 0.111 s
testSetObjectFactory 0.001 s
testSpecifyVariablesOnly 0.001 s
testNullSqlSessionFactoryBuilder 0 s
testSpecifyConfigurationPropertiesOnly 0 s
testNullMapperLocations 0 s
testSetNullDataSource 0.001 s
testAddATypeHandler 0.001 s
testDefaultEnumTypeHandler 0.001 s
testOtherTransactionFactoryClass 0.001 s
testNotSpecifyVariableAndConfigurationProperties 0.001 s
testDefaultConfiguration 0.001 s
testFragmentsAreReadWithMapperLocations 0.013 s
testScriptingLanguageDriverEmpty 0.001 s
testAppendableMethodWithNull 0.001 s
testDefaultConfigurationWithConfigurationProperties 0 s
testSetObjectWrapperFactory 0.001 s
testDefaults 0 s
testScriptingLanguageDriverWithDefault 0.001 s
testSearchATypeAliasPackageWithSuperType 0.035 s
testNullConfigLocation 0.001 s
testAppendableMethod 0.039 s

SqlSessionTemplateTest

testGetConnectionInTx 0.002 s
testClose 0.001 s
testExecutorType 0.004 s
testWithTxRequired 0.007 s
testRollback 0.001 s
testExceptionTranslationShouldThrowDataAccessException 0.020 s
testGetConnection 0.001 s
testExceptionTranslationShouldThrowMyBatisSystemException 0.002 s
testCommit 0.001 s
testTemplateWithNoTxInsert 0.002 s
testTemplateWithNoTxSelect 0.001 s

AutowireTest

shouldReturnMapper 0.083 s

WebappPlaceholderTest

testName 0.008 s

UserServiceTest

testRollbackWithExistingTx 0 s
- Yet not found OSS implementation that supported Jakarta EE 9+ APIs -
testCommitWithExistingTx 0 s
- Yet not found OSS implementation that supported Jakarta EE 9+ APIs -
testRollback 0 s
- Yet not found OSS implementation that supported Jakarta EE 9+ APIs -
testCommit 0 s
- Yet not found OSS implementation that supported Jakarta EE 9+ APIs -

SqlSessionDaoSupportTest

testAutowireWithTwoFactories 0.007 s
testWithSqlSessionTemplate 0.001 s
testAutowireWithNoFactoryOrSession 0.005 s
testWithBothFactoryAndTemplate 0.003 s
testWithNoFactoryOrSession 0.002 s
testWithSqlSessionFactory 0.002 s

SpringTransactionManagerTest

shouldManageWithNoTx 0.002 s
shouldNoOpWithTx 0.001 s
shouldNotCommitWithNoTxAndAutocommitIsOn 0.004 s
shouldIgnoreAutocommit 0.001 s

Failure Details

[Summary] [Package List] [Test Cases]


testGetConnectionInTx
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testClose
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testExecutorType
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testWithTxRequired
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testRollback
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testExceptionTranslationShouldThrowDataAccessException
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testGetConnection
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testExceptionTranslationShouldThrowMyBatisSystemException
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testCommit
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testTemplateWithNoTxInsert
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testTemplateWithNoTxSelect
- skipped: class org.mybatis.spring.asyncsynchronization.SqlSessionTemplateAsyncAfterCompletionTest is @Disabled
testRollbackWithExistingTx
- skipped: Yet not found OSS implementation that supported Jakarta EE 9+ APIs
testCommitWithExistingTx
- skipped: Yet not found OSS implementation that supported Jakarta EE 9+ APIs
testRollback
- skipped: Yet not found OSS implementation that supported Jakarta EE 9+ APIs
testCommit
- skipped: Yet not found OSS implementation that supported Jakarta EE 9+ APIs