Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 201 | 0 | 0 | 0 | 100% | 15.39 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.666 s |
| org.sellhelp.backend.services | 88 | 0 | 0 | 0 | 100% | 4.012 s |
| org.sellhelp.backend.controllers | 54 | 0 | 0 | 0 | 100% | 6.711 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.087 s | |
| CommentRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.089 s | |
| UserFileRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.072 s | |
| JobApplicationRepositoryTest | 7 | 0 | 0 | 0 | 100% | 0.061 s | |
| ChatMessageRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.069 s | |
| PostRepositoryTest | 6 | 0 | 0 | 0 | 100% | 0.140 s | |
| PostStatusRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.044 s | |
| CityRepositoryTest | 4 | 0 | 0 | 0 | 100% | 3.334 s | |
| ReportTypeRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.046 s | |
| UserRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.079 s | |
| ChatRepositoryTest | 3 | 0 | 0 | 0 | 100% | 0.044 s | |
| NotificationRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.036 s | |
| ReviewRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.509 s | |
| RoleRepositoryTest | 4 | 0 | 0 | 0 | 100% | 0.056 s |
org.sellhelp.backend.services
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| EmailServiceTest | 4 | 0 | 0 | 0 | 100% | 0.480 s | |
| UserServiceTest | 6 | 0 | 0 | 0 | 100% | 0.285 s | |
| TempTokenServiceTest | 4 | 0 | 0 | 0 | 100% | 0.131 s | |
| SuperUserServiceTest | 10 | 0 | 0 | 0 | 100% | 0.074 s | |
| PostFileServiceTest | 13 | 0 | 0 | 0 | 100% | 0.393 s | |
| PostServiceTest | 10 | 0 | 0 | 0 | 100% | 0.298 s | |
| MfaServiceTest | 10 | 0 | 0 | 0 | 100% | 1.632 s | |
| JwtUtilTest | 6 | 0 | 0 | 0 | 100% | 0.295 s | |
| AuthServiceTest | 11 | 0 | 0 | 0 | 100% | 0.270 s | |
| UserFileServiceTest | 14 | 0 | 0 | 0 | 100% | 0.154 s |
org.sellhelp.backend.controllers
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| UserControllerTest | 6 | 0 | 0 | 0 | 100% | 0.421 s | |
| SuperUserControllerTest | 7 | 0 | 0 | 0 | 100% | 1.001 s | |
| AuthControllerTest | 11 | 0 | 0 | 0 | 100% | 0.974 s | |
| PostFileControllerTest | 4 | 0 | 0 | 0 | 100% | 0.461 s | |
| PostControllerTest | 16 | 0 | 0 | 0 | 100% | 0.842 s | |
| UserFilesControllerTest | 10 | 0 | 0 | 0 | 100% | 3.012 s |
Test Cases
[Summary] [Package List] [Test Cases]
EmailServiceTest
| Throws EmailException when sending email fails | 0.415 s | |
| updatePassword sends email with generated token | 0.023 s | |
| registerUser sends email successfully | 0.021 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.008 s | |
| Chat can be added to repository and DB | 0.006 s | |
| Chat can be updated in repository and DB | 0.006 s |
