Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 201 | 0 | 0 | 0 | 100% | 15.70 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.737 s |
| org.sellhelp.backend.services | 88 | 0 | 0 | 0 | 100% | 4.039 s |
| org.sellhelp.backend.controllers | 54 | 0 | 0 | 0 | 100% | 6.923 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 |
|---|---|---|---|---|---|---|---|
| ReportRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.085 s | |
| CommentRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.089 s | |
| UserFileRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.055 s | |
| JobApplicationRepositoryTest | 7 | 0 | 0 | 0 | 100% | 0.103 s | |
| ChatMessageRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.055 s | |
| PostRepositoryTest | 6 | 0 | 0 | 0 | 100% | 0.206 s | |
| PostStatusRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.052 s | |
| CityRepositoryTest | 4 | 0 | 0 | 0 | 100% | 3.241 s | |
| ReportTypeRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.053 s | |
| UserRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.088 s | |
| ChatRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.079 s | |
| NotificationRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.056 s | |
| ReviewRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.512 s | |
| RoleRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.063 s |
org.sellhelp.backend.services
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| EmailServiceTest | 4 | 0 | 0 | 0 | 100% | 0.421 s | |
| UserServiceTest | 6 | 0 | 0 | 0 | 100% | 0.309 s | |
| TempTokenServiceTest | 4 | 0 | 0 | 0 | 100% | 0.109 s | |
| SuperUserServiceTest | 10 | 0 | 0 | 0 | 100% | 0.095 s | |
| PostFileServiceTest | 13 | 0 | 0 | 0 | 100% | 0.364 s | |
| PostServiceTest | 10 | 0 | 0 | 0 | 100% | 0.288 s | |
| MfaServiceTest | 10 | 0 | 0 | 0 | 100% | 1.687 s | |
| JwtUtilTest | 6 | 0 | 0 | 0 | 100% | 0.341 s | |
| AuthServiceTest | 11 | 0 | 0 | 0 | 100% | 0.293 s | |
| UserFileServiceTest | 14 | 0 | 0 | 0 | 100% | 0.132 s |
org.sellhelp.backend.controllers
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| UserControllerTest | 6 | 0 | 0 | 0 | 100% | 0.549 s | |
| SuperUserControllerTest | 7 | 0 | 0 | 0 | 100% | 1.086 s | |
| AuthControllerTest | 11 | 0 | 0 | 0 | 100% | 1.036 s | |
| PostFileControllerTest | 4 | 0 | 0 | 0 | 100% | 0.489 s | |
| PostControllerTest | 16 | 0 | 0 | 0 | 100% | 0.727 s | |
| UserFilesControllerTest | 10 | 0 | 0 | 0 | 100% | 3.036 s |
Test Cases
[Summary] [Package List] [Test Cases]
EmailServiceTest
| Throws EmailException when sending email fails | 0.371 s | |
| updatePassword sends email with generated token | 0.021 s | |
| registerUser sends email successfully | 0.016 s | |
| loginUser sends email successfully | 0.009 s |
ReportRepositoryTest
CommentRepositoryTest
UserControllerTest
UserServiceTest
UserFileRepositoryTest
JobApplicationRepositoryTest
SuperUserControllerTest
ChatMessageRepositoryTest
AuthControllerTest
PostRepositoryTest
PostFileControllerTest
PostControllerTest
UserFilesControllerTest
TempTokenServiceTest
SuperUserServiceTest
PostStatusRepositoryTest
CityRepositoryTest
PostFileServiceTest
PostServiceTest
ReportTypeRepositoryTest
UserRepositoryTest
MfaServiceTest
JwtUtilTest
ChatRepositoryTest
| Chat can be deleted from repository and DB | 0.022 s | |
| Chat can be added to repository and DB | 0.019 s | |
| Chat can be updated in repository and DB | 0.016 s |
