Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
123 0 0 0 100% 10.148

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.annotation 10 0 0 0 100% 1.05
org.mybatis.spring.mapper 17 0 0 0 100% 0.741
org.mybatis.spring.batch 1 0 0 0 100% 1.645
org.mybatis.spring.transaction 4 0 0 0 100% 0
org.mybatis.spring.asyncsynchronization 11 0 0 0 100% 0.595
org.mybatis.spring.submitted.autowire 1 0 0 0 100% 0.209
org.mybatis.spring.config 7 0 0 0 100% 0.973
org.mybatis.spring.sample 7 0 0 0 100% 1.175
org.mybatis.spring 55 0 0 0 100% 0.393
org.mybatis.spring.support 6 0 0 0 100% 0.014
org.mybatis.spring.submitted.xa 4 0 0 0 100% 3.353

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

org.mybatis.spring.annotation

Class Tests Errors Failures Skipped Success Rate Time
MapperScanTest 10 0 0 0 100% 1.05

org.mybatis.spring.mapper

Class Tests Errors Failures Skipped Success Rate Time
MapperFactoryBeanTest 7 0 0 0 100% 0.144
MapperScannerConfigurerTest 10 0 0 0 100% 0.597

org.mybatis.spring.batch

Class Tests Errors Failures Skipped Success Rate Time
SpringBatchTest 1 0 0 0 100% 1.645

org.mybatis.spring.transaction

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

org.mybatis.spring.asyncsynchronization

Class Tests Errors Failures Skipped Success Rate Time
SqlSessionTemplateAsyncAfterCompletionTest 11 0 0 0 100% 0.595

org.mybatis.spring.submitted.autowire

Class Tests Errors Failures Skipped Success Rate Time
AutowireTest 1 0 0 0 100% 0.209

org.mybatis.spring.config

Class Tests Errors Failures Skipped Success Rate Time
NamespaceTest 7 0 0 0 100% 0.973

org.mybatis.spring.sample

Class Tests Errors Failures Skipped Success Rate Time
SampleEnableTest 1 0 0 0 100% 0.146
SampleSqlSessionTest 1 0 0 0 100% 0.228
SampleNamespaceTest 1 0 0 0 100% 0.187
SampleBatchTest 1 0 0 0 100% 0.199
SampleMapperTest 1 0 0 0 100% 0.186
ConfigurationSampleTest 1 0 0 0 100% 0.11
SampleScannerTest 1 0 0 0 100% 0.119

org.mybatis.spring

Class Tests Errors Failures Skipped Success Rate Time
SqlSessionFactoryBeanTest 20 0 0 0 100% 0.291
MyBatisSpringTest 24 0 0 0 100% 0.102
SqlSessionTemplateTest 11 0 0 0 100% 0

org.mybatis.spring.support

Class Tests Errors Failures Skipped Success Rate Time
SqlSessionDaoSupportTest 6 0 0 0 100% 0.014

org.mybatis.spring.submitted.xa

Class Tests Errors Failures Skipped Success Rate Time
UserServiceTest 4 0 0 0 100% 3.353

Test Cases

[Summary] [Package List] [Test Cases]

SpringBatchTest

shouldDuplicateSalaryOfAllEmployees 1.645

NamespaceTest

testInterfaceScan 0.196
testScanWithExplicitSqlSessionFactory 0.121
testMarkerInterfaceAndAnnotationScan 0.153
testAnnotationScan 0.108
testNameGenerator 0.163
testMarkerInterfaceScan 0.141
testScanWithExplicitSqlSessionTemplate 0.091

SampleEnableTest

testFooService 0.146

SampleSqlSessionTest

testFooService 0.228

SampleNamespaceTest

testFooService 0.187

SampleBatchTest

testFooService 0.199

SampleMapperTest

testFooService 0.186

ConfigurationSampleTest

test 0.11

SampleScannerTest

testFooService 0.119

AutowireTest

shouldReturnMapper 0.209

UserServiceTest

testRollbackWithExistingTx 3.179
testCommitWithExistingTx 0.039
testRollback 0.058
testCommit 0.077

MapperFactoryBeanTest

testWithNonSpringTransactionFactory 0.089
testAddToConfigFalse 0.003
testBasicUsage 0.003
testNonSpringWithTx 0.004
testNonSpringTxMgrWithTx 0.001
testAddToConfigTrue 0.041
testWithTx 0.003

MapperScannerConfigurerTest

testInterfaceScan 0.056
testScanWithExplicitSqlSessionFactory 0.068
testScanWithPropertyPlaceholders 0.142
testMarkerInterfaceAndAnnotationScan 0.083
testAnnotationScan 0.032
testNameGenerator 0.042
testMarkerInterfaceScan 0.058
testScanWithNameConflict 0.038
testScanWithExplicitSqlSessionFactoryViaPlaceholder 0.056
testScanWithExplicitSqlSessionTemplate 0.022

SqlSessionFactoryBeanTest

testNullTransactionFactoryClass 0
testNullDataSource 0
testAddATypeAlias 0.011
testSearchATypeAliasPackage 0.082
testMapperLocationsWithNullEntry 0
testEmptyMapperLocations 0
testEmptyStringEnvironment 0
testSetConfigLocation 0.069
testSearchATypeHandlerPackage 0.023
testSetObjectFactory 0.025
testNullSqlSessionFactoryBuilder 0
testNullMapperLocations 0
testSetNullDataSource 0
testAddATypeHandler 0
testOtherTransactionFactoryClass 0
testFragmentsAreReadWithMapperLocations 0.062
testSetObjectWrapperFactory 0
testDefaults 0
testSearchATypeAliasPackageWithSuperType 0.019
testNullConfigLocation 0

SqlSessionDaoSupportTest

testAutowireWithTwoFactories 0.012
testWithSqlSessionTemplate 0
testAutowireWithNoFactoryOrSession 0.002
testWithBothFactoryAndTemplate 0
testWithNoFactoryOrSession 0
testWithSqlSessionFactory 0

SpringTransactionManagerTest

shouldManageWithNoTx 0
shouldNoOpWithTx 0
shouldNotCommitWithNoTxAndAutocommitIsOn 0
shouldIgnoreAutocommit 0

SqlSessionTemplateAsyncAfterCompletionTest

testGetConnectionInTx 0.067
testClose 0.001
testExecutorType 0.014
testWithTxRequired 0.018
testRollback 0
testExceptionTranslationShouldThrowDataAccessException 0.457
testGetConnection 0
testExceptionTranslationShouldThrowMyBatisSystemException 0.012
testCommit 0
testTemplateWithNoTxInsert 0.026
testTemplateWithNoTxSelect 0

MyBatisSpringTest

testWithNonSpringTransactionFactory 0
testWithInterleavedTx 0.023
testBatchWithError 0
testMyBatisAPIWithCommit 0
testMyBatisAPI 0
testSpringAPIWithRollback 0
testSqlSessionCommitWithTx 0.019
testBatch 0
testWithTxSupports 0
testWithJtaTxManagerAndNonSpringTxManager 0.001
testChangeExecutorTypeInTxRequiresNew 0
testWithJtaTxManager 0.026
testSuspendAndResume 0
testBatchInTx 0.001
testSpringAPIWithMyBatisClose 0
testWithTxRequired 0
testNonSpringTxFactoryWithTx 0
testSpringAPIWithCommit 0.023
testChangeExecutorTypeInTx 0
testNonSpringTxFactoryNonSpringDSWithTx 0
testRollbackWithTxSupports 0
testMyBatisAPIWithRollback 0
testSpringAPI 0
testBatchInTxWithError 0.009

SqlSessionTemplateTest

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

MapperScanTest

testInterfaceScan 0.277
testScanWithExplicitSqlSessionFactory 0.154
testMarkerInterfaceAndAnnotationScan 0.155
testAnnotationScan 0.098
testNameGenerator 0.082
testMarkerInterfaceScan 0.113
testInterfaceScanWithPackageClasses 0.061
testScanWithNameConflict 0.021
testScanWithExplicitSqlSessionTemplate 0.047
testCustomMapperFactoryBean 0.042