Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
218 0 0 15 93,1% 7,063 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,250 s
org.mybatis.spring.config 12 0 0 0 100% 0,637 s
org.mybatis.spring.sample 10 0 0 0 100% 0,926 s
org.mybatis.spring.submitted.autowire 1 0 0 0 100% 0,055 s
org.mybatis.spring.transaction 4 0 0 0 100% 0,014 s
org.mybatis.spring.submitted.webapp_placeholder 1 0 0 0 100% 0,054 s
org.mybatis.spring.support 6 0 0 0 100% 0,022 s
org.mybatis.spring.annotation 20 0 0 0 100% 1,339 s
org.mybatis.spring.filter.xml 12 0 0 0 100% 0,547 s
org.mybatis.spring.asyncsynchronization 11 0 0 11 0% 0,001 s
org.mybatis.spring.mapper 22 0 0 0 100% 0,246 s
org.mybatis.spring.batch 11 0 0 0 100% 1,186 s
org.mybatis.spring.submitted.xa 4 0 0 4 0% 0 s
org.mybatis.spring 78 0 0 0 100% 0,436 s
org.mybatis.spring.filter 15 0 0 0 100% 0,350 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,162 s
MyBatisCursorItemReaderBuilderTest 3 0 0 0 100% 0,065 s
MyBatisPagingItemReaderBuilderTest 4 0 0 0 100% 0,023 s

org.mybatis.spring.config

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

org.mybatis.spring.sample

- Class Tests Errors Failures Skipped Success Rate Time
SampleBatchTest 1 0 0 0 100% 0,138 s
SampleEnableTest 1 0 0 0 100% 0,065 s
SampleJavaConfigTest 2 0 0 0 100% 0,062 s
SampleJobJavaConfigTest 1 0 0 0 100% 0,239 s
SampleJobXmlConfigTest 1 0 0 0 100% 0,188 s
SampleMapperTest 1 0 0 0 100% 0,036 s
SampleNamespaceTest 1 0 0 0 100% 0,050 s
SampleScannerTest 1 0 0 0 100% 0,044 s
SampleSqlSessionTest 1 0 0 0 100% 0,104 s

org.mybatis.spring.submitted.autowire

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

org.mybatis.spring.transaction

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

org.mybatis.spring.submitted.webapp_placeholder

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

org.mybatis.spring.support

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

org.mybatis.spring.annotation

- Class Tests Errors Failures Skipped Success Rate Time
MapperScanTest 20 0 0 0 100% 1,339 s

org.mybatis.spring.filter.xml

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

org.mybatis.spring.asyncsynchronization

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

org.mybatis.spring.mapper

- Class Tests Errors Failures Skipped Success Rate Time
MapperFactoryBeanTest 7 0 0 0 100% 0,055 s
MapperScannerConfigurerTest 15 0 0 0 100% 0,191 s

org.mybatis.spring.batch

- Class Tests Errors Failures Skipped Success Rate Time
MyBatisBatchItemWriterTest 5 0 0 0 100% 0,173 s
MyBatisCursorItemReaderTest 2 0 0 0 100% 0,017 s
SpringBatchTest 4 0 0 0 100% 0,996 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,091 s
SqlSessionFactoryBeanTest 38 0 0 0 100% 0,247 s
SqlSessionTemplateTest 11 0 0 0 100% 0,016 s

org.mybatis.spring.filter

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

Test Cases

[Summary] [Package List] [Test Cases]

MapperScanTest

testScanWithMapperScanIsRepeat 0,572 s
testInterfaceScan 0,146 s
testScanWithExplicitSqlSessionFactory 0,046 s
testProcessPropertyPlaceHoldersIsTrue 0,145 s
testScanWithDefaultMapperScanAndRepeat 0,024 s
testScanWithDefaultMapperScans 0,022 s
testMarkerInterfaceAndAnnotationScan 0,045 s
testLazyScanWithPropertySourcesPlaceholderConfigurer 0,023 s
testDefaultMapperScan 0,034 s
testAnnotationScan 0,023 s
testScopedProxyMapperScanByDefaultScope 0,039 s
testNameGenerator 0,025 s
testScanWithMapperScans 0,014 s
testLazyConfigWithPropertySource 0,014 s
testMarkerInterfaceScan 0,024 s
testInterfaceScanWithPackageClasses 0,022 s
testScanWithNameConflict 0,022 s
testScanWithExplicitSqlSessionTemplate 0,026 s
testProcessPropertyPlaceHoldersIsFalse 0,016 s
testCustomMapperFactoryBean 0,023 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,146 s
testConfigurationSetItemToParameterConverter 0,004 s
testConfigurationUsingSqlSessionFactory 0,004 s
testConfigurationAssertUpdatesIsFalse 0,004 s

MyBatisCursorItemReaderBuilderTest

testConfigurationMaxItemCount 0,056 s
testConfiguration 0,003 s
testConfigurationSaveStateIsFalse 0,003 s

MyBatisPagingItemReaderBuilderTest

testConfigurationMaxItemCount 0,009 s
testConfiguration 0,003 s
testConfigurationPageSize 0,003 s
testConfigurationSaveStateIsFalse 0,003 s

MyBatisBatchItemWriterTest

testZeroBatchResultShouldThrowException 0,134 s
testItemToParameterConverterIsDefault 0,009 s
testSetItemToParameterConverter 0,007 s
testItemToParameterConverterIsNull 0,006 s
testZeroUpdateCountShouldThrowException 0,008 s

MyBatisCursorItemReaderTest

testCloseOnFailing 0,010 s
testCloseBeforeOpen 0,003 s

SpringBatchTest

shouldDuplicateSalaryOfAllEmployees 0,065 s
checkPagingReadingWithNestedInResultMap 0,007 s
checkCursorReadingWithNestedInResultMap 0,008 s
checkCursorReadingWithoutNestedInResultMap 0,005 s

NamespaceTest

testScanWithMapperFactoryBeanClass 0,079 s
testInterfaceScan 0,061 s
testScanWithExplicitSqlSessionFactory 0,052 s
testLazy 0,055 s
processPropertyPlaceHoldersIsTrue 0,070 s
testMarkerInterfaceAndAnnotationScan 0,051 s
testAnnotationScan 0,047 s
testDefaultScope 0,047 s
testNameGenerator 0,039 s
testMarkerInterfaceScan 0,044 s
processPropertyPlaceHoldersIsFalse 0,041 s
testScanWithExplicitSqlSessionTemplate 0,039 s

ScanFilterTest

testAssignableScanFilter 0,058 s
testAspectJScanFilter 0,136 s
testRegexWithPlaceHolderScanFilter1 0,016 s
testAnnoScanFilter 0,013 s
multiPatternRegexScanFilter 0,010 s
invalidPropertyPattern 0,003 s
combinedScanFilter 0,018 s
multiPatternAspectJScanFilter 0,013 s
invalidTypeFilter 0,008 s
testRegexScanFilter 0,015 s
testRegexWithPlaceHolderScanFilter 0,013 s
invalidPropertyClasses 0,007 s
processPropertyPlaceHoldersSwitchTest 0,004 s
testCustomScanFilter 0,015 s
processPropertyPlaceHoldersSwitchTest1 0,013 s

XmlScanFilterTest

testScanWithPlaceHolderFilter1 0,072 s
testAspectJScanFilter 0,082 s
warpedClassNotFoundException 0,009 s
testAnnoScanFilter 0,066 s
invalidPropertyPattern 0,012 s
testRegexScanFilter 0,057 s
testAssignScanFilter 0,058 s
invalidPatternFilter 0,009 s
processPropertyPlaceHoldersSwitchTest 0,009 s
testCustomScanFilter 0,049 s
testScanWithPlaceHolderFilter 0,052 s
testCombinedScanFilter 0,067 s

MapperFactoryBeanTest

testWithNonSpringTransactionFactory 0,030 s
testAddToConfigFalse 0,001 s
testBasicUsage 0,001 s
testNonSpringWithTx 0,001 s
testNonSpringTxMgrWithTx 0,001 s
testAddToConfigTrue 0,006 s
testWithTx 0,002 s

MapperScannerConfigurerTest

testScanWithMapperFactoryBeanClass 0,009 s
testInterfaceScan 0,013 s
testScanWithExplicitSqlSessionFactory 0,012 s
testScopedProxyMapperScanByDefault 0,010 s
testScanWithPropertyPlaceholders 0,025 s
testMarkerInterfaceAndAnnotationScan 0,013 s
testMapperBeanAttribute 0,010 s
testAnnotationScan 0,008 s
testMapperBeanOnConditionalProperties 0,013 s
testNameGenerator 0,011 s
testMarkerInterfaceScan 0,012 s
testScanWithNameConflict 0,009 s
testScanWithExplicitSqlSessionFactoryViaPlaceholder 0,011 s
testScanWithExplicitSqlSessionTemplate 0,015 s
testScopedProxyMapperScan 0,015 s

MyBatisExceptionTranslatorTest

shouldNestedPersistenceExceptionReportsMsgOfChildExceptionIfParentsMsgIsNull 0,053 s
shouldNestedPersistenceExceptionReportsMsgOfParentException 0 s
shouldNonPersistenceExceptionBeTranslatedToNull 0,021 s
shouldPersistenceExceptionBeTranslatedToMyBatisSystemException 0 s
shouldSqlExceptionBeTranslatedToUncategorizedSqlException 0,004 s

MyBatisSpringTest

testWithNonSpringTransactionFactory 0,003 s
testWithInterleavedTx 0,003 s
testBatchWithError 0,003 s
testMyBatisAPIWithCommit 0,001 s
testMyBatisAPI 0,001 s
testSpringAPIWithRollback 0 s
testSqlSessionCommitWithTx 0,001 s
testBatch 0,001 s
testWithTxSupports 0,001 s
testWithJtaTxManagerAndNonSpringTxManager 0,048 s
testChangeExecutorTypeInTxRequiresNew 0,001 s
testWithJtaTxManager 0,001 s
testSuspendAndResume 0 s
testBatchInTx 0,001 s
testSpringAPIWithMyBatisClose 0,001 s
testWithTxRequired 0,001 s
testNonSpringTxFactoryWithTx 0,001 s
testSpringAPIWithCommit 0,001 s
testChangeExecutorTypeInTx 0,001 s
testNonSpringTxFactoryNonSpringDSWithTx 0,001 s
testRollbackWithTxSupports 0,002 s
testMyBatisAPIWithRollback 0,001 s
testSpringAPI 0,001 s
testBatchInTxWithError 0,003 s

SampleBatchTest

testFooService 0,006 s

SampleEnableTest

testFooService 0,003 s

SampleJavaConfigTest

testWithMapperFactoryBean 0,004 s
test 0,002 s

SampleJobJavaConfigTest

testJob 0,048 s

SampleJobXmlConfigTest

testJob 0,042 s

SampleMapperTest

testFooService 0,003 s

SampleNamespaceTest

testFooService 0,003 s

SampleScannerTest

testFooService 0,002 s

SampleSqlSessionTest

testFooService 0,003 s

SqlSessionFactoryBeanTest

testNullTransactionFactoryClass 0,001 s
testSetConfiguration 0,001 s
testSpecifyConfigurationAndConfigLocation 0,001 s
testSearchATypeHandlerPackageWithSamePackage 0,050 s
testNullDataSource 0 s
testAddATypeAlias 0,002 s
testSearchATypeAliasPackage 0,066 s
testAppendableMethodWithEmpty 0,006 s
testScriptingLanguageDriver 0,001 s
testMapperLocationsWithNullEntry 0 s
testEmptyMapperLocations 0 s
testEmptyStringEnvironment 0 s
testAddCache 0 s
testSpecifyVariablesAndConfigurationProperties 0,001 s
testSetConfigLocation 0,009 s
testSearchATypeHandlerPackage 0,017 s
testSearchATypeAliasPackageWithSamePackage 0,038 s
testSetObjectFactory 0 s
testSpecifyVariablesOnly 0 s
testNullSqlSessionFactoryBuilder 0,001 s
testSpecifyConfigurationPropertiesOnly 0 s
testNullMapperLocations 0,001 s
testSetNullDataSource 0 s
testAddATypeHandler 0,001 s
testDefaultEnumTypeHandler 0,001 s
testOtherTransactionFactoryClass 0 s
testNotSpecifyVariableAndConfigurationProperties 0,001 s
testDefaultConfiguration 0 s
testFragmentsAreReadWithMapperLocations 0,005 s
testScriptingLanguageDriverEmpty 0 s
testAppendableMethodWithNull 0 s
testDefaultConfigurationWithConfigurationProperties 0,001 s
testSetObjectWrapperFactory 0,001 s
testDefaults 0,001 s
testScriptingLanguageDriverWithDefault 0,001 s
testSearchATypeAliasPackageWithSuperType 0,017 s
testNullConfigLocation 0,001 s
testAppendableMethod 0,015 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,001 s
testExceptionTranslationShouldThrowMyBatisSystemException 0,001 s
testCommit 0 s
testTemplateWithNoTxInsert 0,001 s
testTemplateWithNoTxSelect 0,001 s

AutowireTest

shouldReturnMapper 0,054 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,002 s
testAutowireWithNoFactoryOrSession 0,003 s
testWithBothFactoryAndTemplate 0,001 s
testWithNoFactoryOrSession 0,001 s
testWithSqlSessionFactory 0,001 s

SpringTransactionManagerTest

shouldManageWithNoTx 0,001 s
shouldNoOpWithTx 0,001 s
shouldNotCommitWithNoTxAndAutocommitIsOn 0,001 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