Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
13 0 0 0 100% 6.040 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 13 0 0 0 100% 6.040 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
FooServiceJTATest 5 0 0 0 100% 2.503 s
FooServiceTest 7 0 0 0 100% 2.704 s
MybatisExtensionTest 1 0 0 0 100% 0.833 s

Test Cases

[Summary] [Package List] [Test Cases]

FooServiceJTATest

jtaShouldInsertAUserAndRollItBack 0.484 s
jtaShouldInsertAUserAndCommit 0.007 s
jtaShouldInsertAUserWithExistingJtaTxAndCommit 0.005 s
jtaShouldInsertAUserWithExistingJtaTxAndRollItBack 0.004 s
jtaShouldGetAUserWithNoTX 0.002 s

FooServiceTest

shouldInsertAUserThatFailsWithACustomExceptionMarkedToRollbackAndRollItBack 0.303 s
shouldInsertAUserThatFailsWithACheckedAndCommit 0.007 s
shouldInjectTheSameMapper 0.011 s
shouldInsertAUserAndCommit 0.004 s
shouldGetAUser 0.075 s
shouldInsertAUserThatFailsWithRuntimeAndRollItBack 0.004 s
injectedMappersAreSerializable 0.036 s

MybatisExtensionTest

mappersFoundAfterTheBeanUsingTheMapperInAnInjectionPointHasBeenScannedShouldBeInstantiated 0.831 s