Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
13 0 0 0 100% 5.610 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% 5.610 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.317 s
FooServiceTest 7 0 0 0 100% 2.465 s
MybatisExtensionTest 1 0 0 0 100% 0.828 s

Test Cases

[Summary] [Package List] [Test Cases]

FooServiceJTATest

jtaShouldInsertAUserAndRollItBack 0.373 s
jtaShouldInsertAUserAndCommit 0.006 s
jtaShouldInsertAUserWithExistingJtaTxAndCommit 0.003 s
jtaShouldInsertAUserWithExistingJtaTxAndRollItBack 0.003 s
jtaShouldGetAUserWithNoTX 0.002 s

FooServiceTest

shouldInsertAUserThatFailsWithACustomExceptionMarkedToRollbackAndRollItBack 0.253 s
shouldInsertAUserThatFailsWithACheckedAndCommit 0.007 s
shouldInjectTheSameMapper 0.014 s
shouldInsertAUserAndCommit 0.005 s
shouldGetAUser 0.087 s
shouldInsertAUserThatFailsWithRuntimeAndRollItBack 0.005 s
injectedMappersAreSerializable 0.036 s

MybatisExtensionTest

mappersFoundAfterTheBeanUsingTheMapperInAnInjectionPointHasBeenScannedShouldBeInstantiated 0.827 s