Failsafe Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 192 | 0 | 0 | 0 | 100% | 150.9 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 |
|---|---|---|---|---|---|---|
| io.github.marcopaglio.booking.service.transactional | 56 | 0 | 0 | 0 | 100% | 20.16 s |
| io.github.marcopaglio.booking.view.swing | 79 | 0 | 0 | 0 | 100% | 122.0 s |
| io.github.marcopaglio.booking.presenter.served | 57 | 0 | 0 | 0 | 100% | 8.703 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
io.github.marcopaglio.booking.service.transactional
io.github.marcopaglio.booking.view.swing
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| PostgresBookingSwingViewE2E | 22 | 0 | 0 | 0 | 100% | 51.17 s | |
| ServedBookingPresenterSwingViewIT | 23 | 0 | 0 | 0 | 100% | 0.806 s | |
| PostgresModelSwingViewServedPresenterIT | 6 | 0 | 0 | 0 | 100% | 11.25 s | |
| MongoModelSwingViewServedPresenterIT | 6 | 0 | 0 | 0 | 100% | 10.67 s | |
| MongoBookingSwingViewE2E | 22 | 0 | 0 | 0 | 100% | 48.11 s |
io.github.marcopaglio.booking.presenter.served
Test Cases
[Summary] [Package List] [Test Cases]
TransactionalMongoBookingServiceIT$ReservationMongoRepositoryIT$RemoveReservationOnIT
| testRemoveReservationOnWhenReservationDoesNotExistShouldThrow | 0.105 s | |
| testRemoveReservationOnWhenReservationExistsShouldRemove | 0.216 s |
TransactionalMongoBookingServiceIT$BothRepositoriesIT$RemoveClientNamedIT
| testRemoveClientNamedWhenClientExistsWithAnExistingReservationShouldRemove | 0.301 s | |
| testRemoveClientNamedWhenClientDoesNotExistShouldThrow | 0.120 s |
TransactionalPostgresBookingServiceIT$ClientPostgresRepositoryIT$FindClientNamedIT
| testFindClientNamedWhenClientExistsShouldReturnTheClient | 0.013 s | |
| testFindClientNamedWhenClientDoesNotExistShouldThrow | 0.010 s |
TransactionalMongoBookingServiceIT$ReservationMongoRepositoryIT$FindReservationIT
| testFindReservationWhenReservationDoesNotExistShouldThrow | 0.110 s | |
| testFindReservationWhenReservationExistsShouldReturnTheReservation | 0.216 s |
TransactionalMongoBookingServiceIT$ReservationMongoRepositoryIT$RescheduleReservationIT
TransactionalPostgresBookingServiceIT$ReservationPostgresRepositoryIT$RescheduleReservationIT
TransactionalPostgresBookingServiceIT$ReservationPostgresRepositoryIT$RemoveReservationIT
| testRemoveReservationWhenReservationDoesNotExistShouldThrow | 0.011 s | |
| testRemoveReservationWhenReservationExistsShouldRemove | 0.015 s |
TransactionalMongoBookingServiceIT$ReservationMongoRepositoryIT$FindReservationOnIT
| testFindReservationOnWhenReservationDoesNotExistShouldThrow | 0.105 s | |
| testFindReservationOnWhenReservationExistsShouldReturnTheReservation | 0.216 s |
TransactionalMongoBookingServiceIT$ClientMongoRepositoryIT$FindClientIT
| testFindClientWhenClientDoesNotExistShouldThrow | 0.110 s | |
| testFindClientWhenClientExistsShouldReturnTheClient | 0.217 s |
TransactionalPostgresBookingServiceIT$ReservationPostgresRepositoryIT$FindAllReservationsIT
| testFindAllReservationsWhenThereAreNoReservationsToRetrieveShouldReturnEmptyList | 0.011 s | |
| testFindAllReservationsWhenThereAreSeveralReservationsToRetrieveShouldReturnReservationAsList | 0.012 s |
TransactionalPostgresBookingServiceIT$BothRepositoriesIT$InsertNewReservationIT
| testInsertNewReservationWhenReservationIsNewAndAssociatedClientExistsShouldInsertAndReturnWithId | 0.026 s | |
| testInsertNewReservationWhenReservationAlreadyExistsShouldNotInsertAndThrow | 0.019 s |
TransactionalPostgresBookingServiceIT$ClientPostgresRepositoryIT$FindClientIT
| testFindClientWhenClientDoesNotExistShouldThrow | 0.008 s | |
| testFindClientWhenClientExistsShouldReturnTheClient | 0.012 s |
TransactionalPostgresBookingServiceIT$ReservationPostgresRepositoryIT$RemoveReservationOnIT
| testRemoveReservationOnWhenReservationDoesNotExistShouldThrow | 0.011 s | |
| testRemoveReservationOnWhenReservationExistsShouldRemove | 0.020 s |
TransactionalMongoBookingServiceIT$ClientMongoRepositoryIT$FindClientNamedIT
| testFindClientNamedWhenClientExistsShouldReturnTheClient | 0.211 s | |
| testFindClientNamedWhenClientDoesNotExistShouldThrow | 0.111 s |
TransactionalMongoBookingServiceIT$BothRepositoriesIT$RemoveClientIT
| testRemoveClientWhenClientDoesNotExistShouldThrow | 0.115 s | |
| testRemoveClientWhenClientExistsWithAnExistingReservationShouldRemove | 0.335 s |
TransactionalPostgresBookingServiceIT$ClientPostgresRepositoryIT$FindAllClientsIT
| testFindAllClientsWhenThereAreSeveralClientsToRetrieveShouldReturnClientsAsList | 0.012 s | |
| testFindAllClientsWhenThereAreNoClientsToRetrieveShouldReturnEmptyList | 0.007 s |
TransactionalMongoBookingServiceIT$ReservationMongoRepositoryIT$FindAllReservationsIT
| testFindAllReservationsWhenThereAreNoReservationsToRetrieveShouldReturnEmptyList | 0.111 s | |
| testFindAllReservationsWhenThereAreSeveralReservationsToRetrieveShouldReturnReservationAsList | 0.217 s |
TransactionalMongoBookingServiceIT$ClientMongoRepositoryIT$InsertNewClientIT
| testInsertNewClientWhenClientDoesNotAlreadyExistShouldInsertAndReturnWithId | 0.110 s | |
| testInsertNewClientWhenClientAlreadyExistsShouldNotInsertAndThrow | 0.214 s |
TransactionalPostgresBookingServiceIT$ClientPostgresRepositoryIT$RenameClientIT
| testRenameClientWhenThereIsAlreadyAClientWithSameNewNamesShouldNotRenameAndThrow | 0.019 s | |
| testRenameClientWhenThereIsNoClientWithTheSameNewNamesShouldRenameAndReturnWithoutChangingId | 0.017 s |
TransactionalPostgresBookingServiceIT$ReservationPostgresRepositoryIT$FindReservationOnIT
| testFindReservationOnWhenReservationDoesNotExistShouldThrow | 0.009 s | |
| testFindReservationOnWhenReservationExistsShouldReturnTheReservation | 0.014 s |
TransactionalPostgresBookingServiceIT$BothRepositoriesIT$RemoveClientIT
| testRemoveClientWhenClientDoesNotExistShouldThrow | 0.019 s | |
| testRemoveClientWhenClientExistsWithAnExistingReservationShouldRemove | 0.035 s |
TransactionalPostgresBookingServiceIT$ReservationPostgresRepositoryIT$FindReservationIT
| testFindReservationWhenReservationDoesNotExistShouldThrow | 0.012 s | |
| testFindReservationWhenReservationExistsShouldReturnTheReservation | 0.012 s |
TransactionalMongoBookingServiceIT$ClientMongoRepositoryIT$RenameClientIT
| testRenameClientWhenThereIsAlreadyAClientWithSameNewNamesShouldNotRenameAndThrow | 0.216 s | |
| testRenameClientWhenThereIsNoClientWithTheSameNewNamesShouldRenameAndReturnWithoutChangingId | 0.213 s |
TransactionalMongoBookingServiceIT$BothRepositoriesIT$InsertNewReservationIT
| testInsertNewReservationWhenReservationIsNewAndAssociatedClientExistsShouldInsertAndReturnWithId | 0.224 s | |
| testInsertNewReservationWhenReservationAlreadyExistsShouldNotInsertAndThrow | 0.224 s |
TransactionalMongoBookingServiceIT$ReservationMongoRepositoryIT$RemoveReservationIT
| testRemoveReservationWhenReservationDoesNotExistShouldThrow | 0.109 s | |
| testRemoveReservationWhenReservationExistsShouldRemove | 0.218 s |
TransactionalPostgresBookingServiceIT$BothRepositoriesIT$RemoveClientNamedIT
| testRemoveClientNamedWhenClientExistsWithAnExistingReservationShouldRemove | 0.405 s | |
| testRemoveClientNamedWhenClientDoesNotExistShouldThrow | 0.015 s |
TransactionalPostgresBookingServiceIT$ClientPostgresRepositoryIT$InsertNewClientIT
| testInsertNewClientWhenClientDoesNotAlreadyExistShouldInsertAndReturnWithId | 0.013 s | |
| testInsertNewClientWhenClientAlreadyExistsShouldNotInsertAndThrow | 0.012 s |
TransactionalMongoBookingServiceIT$ClientMongoRepositoryIT$FindAllClientsIT
| testFindAllClientsWhenThereAreSeveralClientsToRetrieveShouldReturnClientsAsList | 0.214 s | |
| testFindAllClientsWhenThereAreNoClientsToRetrieveShouldReturnEmptyList | 0.111 s |
ServedMongoBookingPresenterRaceConditionIT
PostgresBookingSwingViewE2E
ValidatedServedBookingPresenterIT$RestrictedClientValidatorIT$AddClientIT
ServedBookingPresenterIT$RenameClientIT
ServedBookingPresenterSwingViewIT
ServedBookingPresenterIT$DeleteClientIT
PostgresModelSwingViewServedPresenterIT
ServedBookingPresenterIT$RescheduleReservationIT
ServedPostgresBookingPresenterRaceConditionIT
ValidatedServedBookingPresenterIT$RestrictedReservationValidatorIT$AddReservationIT
ValidatedServedBookingPresenterIT$RestrictedReservationValidatorIT$RescheduleReservationIT
| testRescheduleReservationWhenNewDateIsValidShouldDelegateToServiceWithUnchangedNewDate | 0.053 s | |
| testRescheduleReservationWhenNewDateIsNotValidShouldShowErrorAndNotReschedule | 0.003 s |
