Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 201 | 0 | 0 | 0 | 100% | 15.83 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% | 4.601 s |
| org.sellhelp.backend.services | 88 | 0 | 0 | 0 | 100% | 2.145 s |
| org.sellhelp.backend.controllers | 54 | 0 | 0 | 0 | 100% | 9.086 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.668 s | |
| NotificationRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.033 s | |
| CityRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.066 s | |
| JobApplicationRepositoryTest | 7 | 0 | 0 | 0 | 100% | 0.171 s | |
| CommentRepositoryTest | 4 | 0 | 0 | 0 | 100% | 3.051 s | |
| ReportTypeRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.055 s | |
| ChatRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.056 s | |
| ReportRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.051 s | |
| PostRepositoryTest | 6 | 0 | 0 | 0 | 100% | 0.091 s | |
| UserFileRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.038 s | |
| ChatMessageRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.064 s | |
| UserRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.138 s | |
| RoleRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.039 s | |
| PostStatusRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.080 s |
org.sellhelp.backend.services
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| AuthServiceTest | 11 | 0 | 0 | 0 | 100% | 0.774 s | |
| TempTokenServiceTest | 4 | 0 | 0 | 0 | 100% | 0.008 s | |
| EmailServiceTest | 4 | 0 | 0 | 0 | 100% | 0.403 s | |
| UserServiceTest | 6 | 0 | 0 | 0 | 100% | 0.032 s | |
| UserFileServiceTest | 14 | 0 | 0 | 0 | 100% | 0.149 s | |
| JwtUtilTest | 6 | 0 | 0 | 0 | 100% | 0.058 s | |
| MfaServiceTest | 10 | 0 | 0 | 0 | 100% | 0.121 s | |
| SuperUserServiceTest | 10 | 0 | 0 | 0 | 100% | 0.053 s | |
| PostServiceTest | 10 | 0 | 0 | 0 | 100% | 0.223 s | |
| PostFileServiceTest | 13 | 0 | 0 | 0 | 100% | 0.324 s |
org.sellhelp.backend.controllers
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| SuperUserControllerTest | 7 | 0 | 0 | 0 | 100% | 1.046 s | |
| UserFilesControllerTest | 10 | 0 | 0 | 0 | 100% | 1.024 s | |
| UserControllerTest | 6 | 0 | 0 | 0 | 100% | 0.840 s | |
| PostFileControllerTest | 4 | 0 | 0 | 0 | 100% | 0.617 s | |
| PostControllerTest | 16 | 0 | 0 | 0 | 100% | 4.875 s | |
| AuthControllerTest | 11 | 0 | 0 | 0 | 100% | 0.684 s |
Test Cases
[Summary] [Package List] [Test Cases]
ReviewRepositoryTest
AuthServiceTest
TempTokenServiceTest
NotificationRepositoryTest
CityRepositoryTest
JobApplicationRepositoryTest
EmailServiceTest
| Throws EmailException when sending email fails | 0.377 s | |
| updatePassword sends email with generated token | 0.008 s | |
| registerUser sends email successfully | 0.009 s | |
| loginUser sends email successfully | 0.006 s |
UserServiceTest
UserFileServiceTest
JwtUtilTest
CommentRepositoryTest
ReportTypeRepositoryTest
MfaServiceTest
ChatRepositoryTest
| Chat can be deleted from repository and DB | 0.014 s | |
| Chat can be added to repository and DB | 0.014 s | |
| Chat can be updated in repository and DB | 0.012 s |
