Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 201 | 0 | 0 | 0 | 100% | 14.81 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.482 s |
| org.sellhelp.backend.services | 88 | 0 | 0 | 0 | 100% | 3.785 s |
| org.sellhelp.backend.controllers | 54 | 0 | 0 | 0 | 100% | 6.539 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.062 s | |
| CommentRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.076 s | |
| UserFileRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.072 s | |
| JobApplicationRepositoryTest | 7 | 0 | 0 | 0 | 100% | 0.093 s | |
| ChatMessageRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.054 s | |
| PostRepositoryTest | 6 | 0 | 0 | 0 | 100% | 0.116 s | |
| PostStatusRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.056 s | |
| CityRepositoryTest | 4 | 0 | 0 | 0 | 100% | 3.065 s | |
| ReportTypeRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.045 s | |
| UserRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.122 s | |
| ChatRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.050 s | |
| NotificationRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.088 s | |
| ReviewRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.535 s | |
| RoleRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.048 s |
org.sellhelp.backend.services
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| EmailServiceTest | 4 | 0 | 0 | 0 | 100% | 0.452 s | |
| UserServiceTest | 6 | 0 | 0 | 0 | 100% | 0.264 s | |
| TempTokenServiceTest | 4 | 0 | 0 | 0 | 100% | 0.113 s | |
| SuperUserServiceTest | 10 | 0 | 0 | 0 | 100% | 0.080 s | |
| PostFileServiceTest | 13 | 0 | 0 | 0 | 100% | 0.367 s | |
| PostServiceTest | 10 | 0 | 0 | 0 | 100% | 0.275 s | |
| MfaServiceTest | 10 | 0 | 0 | 0 | 100% | 1.533 s | |
| JwtUtilTest | 6 | 0 | 0 | 0 | 100% | 0.325 s | |
| AuthServiceTest | 11 | 0 | 0 | 0 | 100% | 0.212 s | |
| UserFileServiceTest | 14 | 0 | 0 | 0 | 100% | 0.164 s |
org.sellhelp.backend.controllers
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| UserControllerTest | 6 | 0 | 0 | 0 | 100% | 0.398 s | |
| SuperUserControllerTest | 7 | 0 | 0 | 0 | 100% | 1.038 s | |
| AuthControllerTest | 11 | 0 | 0 | 0 | 100% | 0.910 s | |
| PostFileControllerTest | 4 | 0 | 0 | 0 | 100% | 0.438 s | |
| PostControllerTest | 16 | 0 | 0 | 0 | 100% | 0.792 s | |
| UserFilesControllerTest | 10 | 0 | 0 | 0 | 100% | 2.963 s |
Test Cases
[Summary] [Package List] [Test Cases]
EmailServiceTest
| Throws EmailException when sending email fails | 0.417 s | |
| updatePassword sends email with generated token | 0.010 s | |
| registerUser sends email successfully | 0.009 s | |
| loginUser sends email successfully | 0.013 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.014 s | |
| Chat can be added to repository and DB | 0.009 s | |
| Chat can be updated in repository and DB | 0.010 s |
