Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
15 0 0 0 100% 12.617

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
br.com.rivelino.demo.services.impl 9 0 0 0 100% 9.459
br.com.rivelino.demo 1 0 0 0 100% 2.938
br.com.rivelino.demo.resources 5 0 0 0 100% 0.22

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

br.com.rivelino.demo.services.impl

Class Tests Errors Failures Skipped Success Rate Time
UserServiceImplTest 9 0 0 0 100% 9.459

br.com.rivelino.demo

Class Tests Errors Failures Skipped Success Rate Time
ApiudemyApplicationTests 1 0 0 0 100% 2.938

br.com.rivelino.demo.resources

Class Tests Errors Failures Skipped Success Rate Time
UserResourceTest 5 0 0 0 100% 0.22

Test Cases

[Summary] [Package List] [Test Cases]

UserResourceTest

whenUpdateThenReturnSuccess 0.03
whenFindAllThenReturnAlistOfUserDTO 0.014
delete 0.012
whenFindByIdReturnSuccess 0.014
whenCreateThenReturnCreated 0.043

ApiudemyApplicationTests

main 2.881

UserServiceImplTest

whenFindById_thenReturnUser 0.232
whenUpdatedThenReturnAnDataIntegrityViolationException 0.018
deleteWithSuccess 0.044
whenCreateThenReturnAnDataIntegrityViolationException 0.015
deleteWithObjectNotFoundException 0.035
whenUpdatedThenReturnSuccess 0.028
whenFindById_thenThrowUserNotFoundException 0.014
whenFindAllThenReturnAnListOfUsers 0.014
whenCreateThenReturnSuccess 0.014