Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
218 0 0 15 93.1% 7.137 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% 1.372 s
org.mybatis.spring.config 12 0 0 0 100% 0.483 s
org.mybatis.spring.sample 10 0 0 0 100% 1.002 s
org.mybatis.spring.submitted.autowire 1 0 0 0 100% 0.064 s
org.mybatis.spring.transaction 4 0 0 0 100% 0.013 s
org.mybatis.spring.submitted.webapp_placeholder 1 0 0 0 100% 0.081 s
org.mybatis.spring.support 6 0 0 0 100% 0.026 s
org.mybatis.spring.annotation 20 0 0 0 100% 1.121 s
org.mybatis.spring.filter.xml 12 0 0 0 100% 0.578 s
org.mybatis.spring.asyncsynchronization 11 0 0 11 0% 0 s
org.mybatis.spring.mapper 22 0 0 0 100% 0.299 s
org.mybatis.spring.batch 11 0 0 0 100% 1.385 s
org.mybatis.spring.submitted.xa 4 0 0 4 0% 0 s
org.mybatis.spring 78 0 0 0 100% 0.382 s
org.mybatis.spring.filter 15 0 0 0 100% 0.331 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% 1.263 s
MyBatisCursorItemReaderBuilderTest 3 0 0 0 100% 0.077 s
MyBatisPagingItemReaderBuilderTest 4 0 0 0 100% 0.032 s

org.mybatis.spring.config

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

org.mybatis.spring.sample

- Class Tests Errors Failures Skipped Success Rate Time
SampleBatchTest 1 0 0 0 100% 0.100 s
SampleEnableTest 1 0 0 0 100% 0.056 s
SampleJavaConfigTest 2 0 0 0 100% 0.059 s
SampleJobJavaConfigTest 1 0 0 0 100% 0.335 s
SampleJobXmlConfigTest 1 0 0 0 100% 0.203 s
SampleMapperTest 1 0 0 0 100% 0.046 s
SampleNamespaceTest 1 0 0 0 100% 0.055 s
SampleScannerTest 1 0 0 0 100% 0.055 s
SampleSqlSessionTest 1 0 0 0 100% 0.093 s

org.mybatis.spring.submitted.autowire

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

org.mybatis.spring.transaction

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

org.mybatis.spring.submitted.webapp_placeholder

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

org.mybatis.spring.support

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

org.mybatis.spring.annotation

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

org.mybatis.spring.filter.xml

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

org.mybatis.spring.asyncsynchronization

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

org.mybatis.spring.mapper

- Class Tests Errors Failures Skipped Success Rate Time
MapperFactoryBeanTest 7 0 0 0 100% 0.100 s
MapperScannerConfigurerTest 15 0 0 0 100% 0.199 s

org.mybatis.spring.batch

- Class Tests Errors Failures Skipped Success Rate Time
MyBatisBatchItemWriterTest 5 0 0 0 100% 0.145 s
MyBatisCursorItemReaderTest 2 0 0 0 100% 0.011 s
SpringBatchTest 4 0 0 0 100% 1.229 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.082 s
MyBatisSpringTest 24 0 0 0 100% 0.103 s
SqlSessionFactoryBeanTest 38 0 0 0 100% 0.178 s
SqlSessionTemplateTest 11 0 0 0 100% 0.019 s

org.mybatis.spring.filter

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

Test Cases

[Summary] [Package List] [Test Cases]

MapperScanTest

testScanWithMapperScanIsRepeat 0.627 s
testInterfaceScan 0.060 s
testScanWithExplicitSqlSessionFactory 0.023 s
testProcessPropertyPlaceHoldersIsTrue 0.088 s
testScanWithDefaultMapperScanAndRepeat 0.019 s
testScanWithDefaultMapperScans 0.015 s
testMarkerInterfaceAndAnnotationScan 0.025 s
testLazyScanWithPropertySourcesPlaceholderConfigurer 0.011 s
testDefaultMapperScan 0.021 s
testAnnotationScan 0.015 s
testScopedProxyMapperScanByDefaultScope 0.026 s
testNameGenerator 0.019 s
testScanWithMapperScans 0.011 s
testLazyConfigWithPropertySource 0.011 s
testMarkerInterfaceScan 0.018 s
testInterfaceScanWithPackageClasses 0.016 s
testScanWithNameConflict 0.019 s
testScanWithExplicitSqlSessionTemplate 0.022 s
testProcessPropertyPlaceHoldersIsFalse 0.012 s
testCustomMapperFactoryBean 0.019 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 1.236 s
testConfigurationSetItemToParameterConverter 0.006 s
testConfigurationUsingSqlSessionFactory 0.003 s
testConfigurationAssertUpdatesIsFalse 0.003 s

MyBatisCursorItemReaderBuilderTest

testConfigurationMaxItemCount 0.065 s
testConfiguration 0.005 s
testConfigurationSaveStateIsFalse 0.004 s

MyBatisPagingItemReaderBuilderTest

testConfigurationMaxItemCount 0.012 s
testConfiguration 0.006 s
testConfigurationPageSize 0.004 s
testConfigurationSaveStateIsFalse 0.006 s

MyBatisBatchItemWriterTest

testZeroBatchResultShouldThrowException 0.105 s
testItemToParameterConverterIsDefault 0.003 s
testSetItemToParameterConverter 0.007 s
testItemToParameterConverterIsNull 0.003 s
testZeroUpdateCountShouldThrowException 0.020 s

MyBatisCursorItemReaderTest

testCloseOnFailing 0.008 s
testCloseBeforeOpen 0.001 s

SpringBatchTest

shouldDuplicateSalaryOfAllEmployees 0.073 s
checkPagingReadingWithNestedInResultMap 0.006 s
checkCursorReadingWithNestedInResultMap 0.008 s
checkCursorReadingWithoutNestedInResultMap 0.003 s

NamespaceTest

testScanWithMapperFactoryBeanClass 0.060 s
testInterfaceScan 0.041 s
testScanWithExplicitSqlSessionFactory 0.043 s
testLazy 0.051 s
processPropertyPlaceHoldersIsTrue 0.057 s
testMarkerInterfaceAndAnnotationScan 0.045 s
testAnnotationScan 0.024 s
testDefaultScope 0.035 s
testNameGenerator 0.031 s
testMarkerInterfaceScan 0.026 s
processPropertyPlaceHoldersIsFalse 0.037 s
testScanWithExplicitSqlSessionTemplate 0.025 s

ScanFilterTest

testAssignableScanFilter 0.020 s
testAspectJScanFilter 0.194 s
testRegexWithPlaceHolderScanFilter1 0.013 s
testAnnoScanFilter 0.009 s
multiPatternRegexScanFilter 0.009 s
invalidPropertyPattern 0.003 s
combinedScanFilter 0.012 s
multiPatternAspectJScanFilter 0.012 s
invalidTypeFilter 0.003 s
testRegexScanFilter 0.013 s
testRegexWithPlaceHolderScanFilter 0.009 s
invalidPropertyClasses 0.003 s
processPropertyPlaceHoldersSwitchTest 0.005 s
testCustomScanFilter 0.008 s
processPropertyPlaceHoldersSwitchTest1 0.009 s

XmlScanFilterTest

testScanWithPlaceHolderFilter1 0.077 s
testAspectJScanFilter 0.087 s
warpedClassNotFoundException 0.010 s
testAnnoScanFilter 0.074 s
invalidPropertyPattern 0.010 s
testRegexScanFilter 0.055 s
testAssignScanFilter 0.068 s
invalidPatternFilter 0.008 s
processPropertyPlaceHoldersSwitchTest 0.015 s
testCustomScanFilter 0.057 s
testScanWithPlaceHolderFilter 0.050 s
testCombinedScanFilter 0.061 s

MapperFactoryBeanTest

testWithNonSpringTransactionFactory 0.064 s
testAddToConfigFalse 0.002 s
testBasicUsage 0.001 s
testNonSpringWithTx 0.003 s
testNonSpringTxMgrWithTx 0.002 s
testAddToConfigTrue 0.005 s
testWithTx 0.001 s

MapperScannerConfigurerTest

testScanWithMapperFactoryBeanClass 0.013 s
testInterfaceScan 0.016 s
testScanWithExplicitSqlSessionFactory 0.014 s
testScopedProxyMapperScanByDefault 0.011 s
testScanWithPropertyPlaceholders 0.033 s
testMarkerInterfaceAndAnnotationScan 0.013 s
testMapperBeanAttribute 0.011 s
testAnnotationScan 0.008 s
testMapperBeanOnConditionalProperties 0.012 s
testNameGenerator 0.011 s
testMarkerInterfaceScan 0.010 s
testScanWithNameConflict 0.009 s
testScanWithExplicitSqlSessionFactoryViaPlaceholder 0.010 s
testScanWithExplicitSqlSessionTemplate 0.011 s
testScopedProxyMapperScan 0.011 s

MyBatisExceptionTranslatorTest

shouldNestedPersistenceExceptionReportsMsgOfChildExceptionIfParentsMsgIsNull 0.041 s
shouldNestedPersistenceExceptionReportsMsgOfParentException 0.001 s
shouldNonPersistenceExceptionBeTranslatedToNull 0.028 s
shouldPersistenceExceptionBeTranslatedToMyBatisSystemException 0.001 s
shouldSqlExceptionBeTranslatedToUncategorizedSqlException 0.010 s

MyBatisSpringTest

testWithNonSpringTransactionFactory 0.001 s
testWithInterleavedTx 0.004 s
testBatchWithError 0.005 s
testMyBatisAPIWithCommit 0 s
testMyBatisAPI 0 s
testSpringAPIWithRollback 0.001 s
testSqlSessionCommitWithTx 0.001 s
testBatch 0 s
testWithTxSupports 0.001 s
testWithJtaTxManagerAndNonSpringTxManager 0.054 s
testChangeExecutorTypeInTxRequiresNew 0.002 s
testWithJtaTxManager 0.002 s
testSuspendAndResume 0.001 s
testBatchInTx 0 s
testSpringAPIWithMyBatisClose 0 s
testWithTxRequired 0.001 s
testNonSpringTxFactoryWithTx 0.001 s
testSpringAPIWithCommit 0.001 s
testChangeExecutorTypeInTx 0 s
testNonSpringTxFactoryNonSpringDSWithTx 0 s
testRollbackWithTxSupports 0 s
testMyBatisAPIWithRollback 0.001 s
testSpringAPI 0.001 s
testBatchInTxWithError 0.005 s

SampleBatchTest

testFooService 0.008 s

SampleEnableTest

testFooService 0.003 s

SampleJavaConfigTest

testWithMapperFactoryBean 0.002 s
test 0.001 s

SampleJobJavaConfigTest

testJob 0.079 s

SampleJobXmlConfigTest

testJob 0.015 s

SampleMapperTest

testFooService 0.001 s

SampleNamespaceTest

testFooService 0.002 s

SampleScannerTest

testFooService 0.002 s

SampleSqlSessionTest

testFooService 0.001 s

SqlSessionFactoryBeanTest

testNullTransactionFactoryClass 0 s
testSetConfiguration 0 s
testSpecifyConfigurationAndConfigLocation 0.001 s
testSearchATypeHandlerPackageWithSamePackage 0.015 s
testNullDataSource 0.001 s
testAddATypeAlias 0.002 s
testSearchATypeAliasPackage 0.009 s
testAppendableMethodWithEmpty 0.008 s
testScriptingLanguageDriver 0.002 s
testMapperLocationsWithNullEntry 0.001 s
testEmptyMapperLocations 0 s
testEmptyStringEnvironment 0.001 s
testAddCache 0 s
testSpecifyVariablesAndConfigurationProperties 0 s
testSetConfigLocation 0.022 s
testSearchATypeHandlerPackage 0.009 s
testSearchATypeAliasPackageWithSamePackage 0.058 s
testSetObjectFactory 0.001 s
testSpecifyVariablesOnly 0 s
testNullSqlSessionFactoryBuilder 0.001 s
testSpecifyConfigurationPropertiesOnly 0.001 s
testNullMapperLocations 0 s
testSetNullDataSource 0.001 s
testAddATypeHandler 0.001 s
testDefaultEnumTypeHandler 0.002 s
testOtherTransactionFactoryClass 0.001 s
testNotSpecifyVariableAndConfigurationProperties 0 s
testDefaultConfiguration 0 s
testFragmentsAreReadWithMapperLocations 0.003 s
testScriptingLanguageDriverEmpty 0 s
testAppendableMethodWithNull 0.001 s
testDefaultConfigurationWithConfigurationProperties 0 s
testSetObjectWrapperFactory 0 s
testDefaults 0 s
testScriptingLanguageDriverWithDefault 0 s
testSearchATypeAliasPackageWithSuperType 0.007 s
testNullConfigLocation 0 s
testAppendableMethod 0.018 s

SqlSessionTemplateTest

testGetConnectionInTx 0.001 s
testClose 0.001 s
testExecutorType 0.001 s
testWithTxRequired 0.001 s
testRollback 0.001 s
testExceptionTranslationShouldThrowDataAccessException 0.001 s
testGetConnection 0 s
testExceptionTranslationShouldThrowMyBatisSystemException 0 s
testCommit 0.001 s
testTemplateWithNoTxInsert 0 s
testTemplateWithNoTxSelect 0 s

AutowireTest

shouldReturnMapper 0.064 s

WebappPlaceholderTest

testName 0.003 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.005 s
testWithSqlSessionTemplate 0.001 s
testAutowireWithNoFactoryOrSession 0.003 s
testWithBothFactoryAndTemplate 0.002 s
testWithNoFactoryOrSession 0.002 s
testWithSqlSessionFactory 0.001 s

SpringTransactionManagerTest

shouldManageWithNoTx 0.001 s
shouldNoOpWithTx 0.001 s
shouldNotCommitWithNoTxAndAutocommitIsOn 0 s
shouldIgnoreAutocommit 0 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