Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 201 | 0 | 0 | 0 | 100% | 18.54 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.sellhelp.backend.repositories | 59 | 0 | 0 | 0 | 100% | 5.409 s |
| org.sellhelp.backend.services | 88 | 0 | 0 | 0 | 100% | 2.647 s |
| org.sellhelp.backend.controllers | 54 | 0 | 0 | 0 | 100% | 10.48 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
org.sellhelp.backend.repositories
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| ReviewRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.652 s | |
| NotificationRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.075 s | |
| CityRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.057 s | |
| JobApplicationRepositoryTest | 7 | 0 | 0 | 0 | 100% | 0.174 s | |
| CommentRepositoryTest | 4 | 0 | 0 | 0 | 100% | 3.727 s | |
| ReportTypeRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.056 s | |
| ChatRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.062 s | |
| ReportRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.073 s | |
| PostRepositoryTest | 6 | 0 | 0 | 0 | 100% | 0.162 s | |
| UserFileRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.057 s | |
| ChatMessageRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.100 s | |
| UserRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.090 s | |
| RoleRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.061 s | |
| PostStatusRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.063 s |
org.sellhelp.backend.services
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| AuthServiceTest | 11 | 0 | 0 | 0 | 100% | 0.842 s | |
| TempTokenServiceTest | 4 | 0 | 0 | 0 | 100% | 0.006 s | |
| EmailServiceTest | 4 | 0 | 0 | 0 | 100% | 0.562 s | |
| UserServiceTest | 6 | 0 | 0 | 0 | 100% | 0.052 s | |
| UserFileServiceTest | 14 | 0 | 0 | 0 | 100% | 0.174 s | |
| JwtUtilTest | 6 | 0 | 0 | 0 | 100% | 0.078 s | |
| MfaServiceTest | 10 | 0 | 0 | 0 | 100% | 0.167 s | |
| SuperUserServiceTest | 10 | 0 | 0 | 0 | 100% | 0.083 s | |
| PostServiceTest | 10 | 0 | 0 | 0 | 100% | 0.298 s | |
| PostFileServiceTest | 13 | 0 | 0 | 0 | 100% | 0.385 s |
org.sellhelp.backend.controllers
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| SuperUserControllerTest | 7 | 0 | 0 | 0 | 100% | 1.248 s | |
| UserFilesControllerTest | 10 | 0 | 0 | 0 | 100% | 1.118 s | |
| UserControllerTest | 6 | 0 | 0 | 0 | 100% | 0.996 s | |
| PostFileControllerTest | 4 | 0 | 0 | 0 | 100% | 0.640 s | |
| PostControllerTest | 16 | 0 | 0 | 0 | 100% | 5.514 s | |
| AuthControllerTest | 11 | 0 | 0 | 0 | 100% | 0.964 s |
Test Cases
[Summary] [Package List] [Test Cases]
ReviewRepositoryTest
AuthServiceTest
TempTokenServiceTest
NotificationRepositoryTest
CityRepositoryTest
JobApplicationRepositoryTest
EmailServiceTest
| Throws EmailException when sending email fails | 0.527 s | |
| updatePassword sends email with generated token | 0.012 s | |
| registerUser sends email successfully | 0.009 s | |
| loginUser sends email successfully | 0.009 s |
UserServiceTest
UserFileServiceTest
JwtUtilTest
CommentRepositoryTest
ReportTypeRepositoryTest
MfaServiceTest
ChatRepositoryTest
| Chat can be deleted from repository and DB | 0.015 s | |
| Chat can be added to repository and DB | 0.012 s | |
| Chat can be updated in repository and DB | 0.013 s |
