Automation test flows #353
54 passed, 0 failed and 0 skipped
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.repository.StockHistoryRepositoryIT.xml
1 tests were completed in 52s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.repository.StockHistoryRepositoryIT | 1✅ | 52s |
✅ com.yas.inventory.repository.StockHistoryRepositoryIT
✅ testFindByProductIdAndWarehouseIdOrderByCreatedOnDesc_ifStockHistoryExists_shouldReturnData
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.repository.StockRepositoryIT.xml
2 tests were completed in 106ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.repository.StockRepositoryIT | 2✅ | 106ms |
✅ com.yas.inventory.repository.StockRepositoryIT
✅ testGetProductIdsInWarehouse_ifWarehouseExists_shouldReturnProductId
✅ testFindByWarehouseIdAndProductIdIn_ifStockExists_shouldReturnStock
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.repository.WarehouseRepositoryIT.xml
4 tests were completed in 180ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.repository.WarehouseRepositoryIT | 4✅ | 180ms |
✅ com.yas.inventory.repository.WarehouseRepositoryIT
✅ testExistsByNameWithDifferentId_ifWarehouseWithSameNameNotExistsWithDifferentId_shouldReturnFalse
✅ testExistsByName_ifWarehouseExistsWithDifferentId_shouldReturnTrue
✅ testExistsByNameWithDifferentId_ifWarehouseWithSameNameExistsWithDifferentId_shouldReturnTrue
✅ testExistsByName_WithDifferentId_ifWarehouseDoesNotExist_shouldReturnFalse
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.service.LocationServiceIT.xml
2 tests were completed in 7s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.service.LocationServiceIT | 2✅ | 7s |
✅ com.yas.inventory.service.LocationServiceIT
✅ test_createAddress_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ test_getAddressById_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.service.ProductServiceIT.xml
2 tests were completed in 10s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.service.ProductServiceIT | 2✅ | 10s |
✅ com.yas.inventory.service.ProductServiceIT
✅ test_filterProducts_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ test_getProduct_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.service.StockHistoryServiceIT.xml
3 tests were completed in 282ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.service.StockHistoryServiceIT | 3✅ | 282ms |
✅ com.yas.inventory.service.StockHistoryServiceIT
✅ testGetStockHistories_whenStockQuantityVmNotNull_returnStockHistoryListVm
✅ testCreateStockHistories_whenStockQuantityVmNotNull_saveStockHistories
✅ testCreateStockHistories_whenStockQuantityVmNull_saveStockHistoriesEmpty
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.service.StockServiceIT.xml
7 tests were completed in 470ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.service.StockServiceIT | 7✅ | 470ms |
✅ com.yas.inventory.service.StockServiceIT
✅ testAddProductIntoWarehouse_whenNotFound_throwNotFoundException
✅ testUpdateProductQuantityInStock_whenNormalCase_shouldSavingSuccess
✅ testAddProductIntoWarehouse_whenExistingInStockIsTrue_throwsStockExistingException
✅ testAddProductIntoWarehouse_whenWarehouseNotFound_throwNotFoundException
✅ testGetStocksByWarehouseIdAndProductNameAndSku_whenNormalCase_returnListStockVm
✅ testAddProductIntoWarehouse_whenNormalCase_shouldSavingSuccess
✅ testUpdateProductQuantityInStock_isInvalidAdjustedQuantity_throwBadRequestException
✅ inventory/target/failsafe-reports/TEST-com.yas.inventory.service.WarehouseServiceIT.xml
10 tests were completed in 91ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.service.WarehouseServiceIT | 10✅ | 91ms |
✅ com.yas.inventory.service.WarehouseServiceIT
✅ testDelete_NormalCase_MethodSuccess
✅ testFindById_whenNotFound_throwNotFoundException
✅ testCreate_NormalCase_MethodSuccess
✅ testUpdate_Duplicated_throwDuplicatedException
✅ testUpdate_NormalCase_MethodSuccess
✅ testGetProductWarehouse_NormalCase_MethodSuccess
✅ testFindAllWarehouses_NormalCase_MethodSuccess
✅ testGetPageableWarehouses_NormalCase_MethodSuccess
✅ testCreate_Duplicated_ThrowDuplicatedException
✅ testFindById_NormalCase_MethodSuccess
✅ inventory/target/surefire-reports/TEST-com.yas.inventory.controller.StockControllerTest.xml
3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.controller.StockControllerTest | 3✅ | 2s |
✅ com.yas.inventory.controller.StockControllerTest
✅ testAddProductIntoWarehouse_whenRequestIsValid_thenReturnNoContent
✅ testUpdateProductQuantityInStock_whenRequestIsValid_thenReturnOk
✅ testGetStocksByWarehouseIdAndProductNameAndSku_whenParametersAreProvided_thenReturnStocks
✅ inventory/target/surefire-reports/TEST-com.yas.inventory.controller.StockHistoryControllerTest.xml
1 tests were completed in 7s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.controller.StockHistoryControllerTest | 1✅ | 7s |
✅ com.yas.inventory.controller.StockHistoryControllerTest
✅ testGetStockHistories_whenParametersAreValid_thenReturnStockHistories
✅ inventory/target/surefire-reports/TEST-com.yas.inventory.controller.WarehouseControllerTest.xml
12 tests were completed in 1s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.controller.WarehouseControllerTest | 12✅ | 1s |
✅ com.yas.inventory.controller.WarehouseControllerTest
✅ testUpdateWarehouse_whenDistrictIsNull_thenReturnBadRequest
✅ testUpdateWarehouse_whenRequestIsValid_thenReturn204
✅ testGetProductByWarehouse_whenValidRequest_thenReturnProducts
✅ testUpdateWarehouse_whenPhoneIsOverMaxLength_thenReturnBadRequest
✅ testCreateWarehouse_whenPhoneIsOverMaxLength_thenReturnBadRequest
✅ testListWarehouses_whenWarehousesExist_thenReturnListOfWarehouses
✅ testCreateWarehouse_whenRequestIsValid_thenReturn201
✅ testGetPageableWarehouses_whenValidRequest_thenReturnPagedWarehouses
✅ testUpdateWarehouse_whenContactNameIsBlank_thenReturnBadRequest
✅ testGetWarehouse_whenWarehouseExists_thenReturnWarehouseDetails
✅ testCreateWarehouse_whenContactNameIsBlank_thenReturnBadRequest
✅ testCreateWarehouse_whenDistrictIsNull_thenReturnBadRequest
✅ inventory/target/surefire-reports/TEST-com.yas.inventory.service.LocationServiceTest.xml
4 tests were completed in 818ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.service.LocationServiceTest | 4✅ | 818ms |
✅ com.yas.inventory.service.LocationServiceTest
✅ testGetAddressById_ifNormalCase_returnAddressDetailVm
✅ testUpdateAddress_ifNormalCase_shouldNoException
✅ testCreateAddress_ifNormalCase_returnAddressVm
✅ testDeleteAddress_ifNormalCase_shouldNoException
✅ inventory/target/surefire-reports/TEST-com.yas.inventory.service.ProductServiceTest.xml
3 tests were completed in 128ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.inventory.service.ProductServiceTest | 3✅ | 128ms |
✅ com.yas.inventory.service.ProductServiceTest
✅ testFilterProducts_whenNormalCase_returnListProductInfoVm
✅ testGetProduct_whenNormalCase_returnProductInfoVm
✅ testUpdateProductQuantity_whenNormalCase_shouldNoException