Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
22 0 0 0 100% 6.737 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.cdi 22 0 0 0 100% 6.737 s

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

org.mybatis.cdi

- Class Tests Errors Failures Skipped Success Rate Time
CoverageImprovementTest 9 0 0 0 100% 1.451 s
FooServiceJTATest 5 0 0 0 100% 2.268 s
FooServiceTest 7 0 0 0 100% 2.993 s
MybatisExtensionTest 1 0 0 0 100% 0.025 s

Test Cases

[Summary] [Package List] [Test Cases]

CoverageImprovementTest

cdiUtilsShouldThrowWhenNoSqlSessionFactoryBeanIsResolved 0.935 s
mybatisConfigurationExceptionShouldPreserveMessage 0.007 s
beanKeyShouldSupportComparisonEqualityAndStringRepresentation 0.012 s
sqlSessionManagerRegistryShouldFailWhenNoFactoryIsAvailable 0.025 s
serializableMapperProxyShouldUnwrapInvocationTargetException 0.170 s
mybatisExtensionShouldRejectInvalidSessionFactoryProducerReturnType 0.094 s
mybatisExtensionShouldIgnoreUnannotatedSqlSessionFactoryProducer 0.004 s
mybatisExtensionShouldNotCreateMapperBeansWhenMapperAnnotationIsMissing 0.169 s
myBatisBeanShouldAddDefaultQualifiersWhenNoQualifiersProvided 0.003 s

FooServiceJTATest

jtaShouldInsertAUserAndRollItBack 0.387 s
jtaShouldInsertAUserAndCommit 0.007 s
jtaShouldInsertAUserWithExistingJtaTxAndCommit 0.005 s
jtaShouldInsertAUserWithExistingJtaTxAndRollItBack 0.004 s
jtaShouldGetAUserWithNoTX 0.003 s

FooServiceTest

shouldInsertAUserThatFailsWithACustomExceptionMarkedToRollbackAndRollItBack 0.225 s
shouldInsertAUserThatFailsWithACheckedAndCommit 0.007 s
shouldInjectTheSameMapper 0.016 s
shouldInsertAUserAndCommit 0.011 s
shouldGetAUser 0.091 s
shouldInsertAUserThatFailsWithRuntimeAndRollItBack 0.011 s
injectedMappersAreSerializable 0.046 s

MybatisExtensionTest

mappersFoundAfterTheBeanUsingTheMapperInAnInjectionPointHasBeenScannedShouldBeInstantiated 0.024 s