#1199 - Add UT for recommendation service #419
GitHub Actions / Search-Service-Unit-Test-Results
succeeded
Oct 21, 2024 in 0s
22 passed, 0 failed and 0 skipped
✅ search/target/failsafe-reports/TEST-com.yas.search.controller.ProductControllerIT.xml
3 tests were completed in 107s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.search.controller.ProductControllerIT | 3✅ | 107s |
✅ com.yas.search.controller.ProductControllerIT
✅ test_findProductAdvance_shouldNotReturnAnyProduct
✅ test_productSearchAutoComplete_shouldReturnSuccessfully
✅ test_findProductAdvance_shouldReturnSuccessfully
✅ search/target/surefire-reports/TEST-com.yas.search.consumer.ProductSyncDataConsumerTest.xml
3 tests were completed in 16ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.search.consumer.ProductSyncDataConsumerTest | 3✅ | 16ms |
✅ com.yas.search.consumer.ProductSyncDataConsumerTest
✅ testSync_whenUpdateAction_updateProduct
✅ testSync_whenDeleteAction_deleteProduct
✅ testSync_whenCreateAction_createProduct
✅ search/target/surefire-reports/TEST-com.yas.search.controller.ProductControllerTest.xml
2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.search.controller.ProductControllerTest | 2✅ | 1s |
✅ com.yas.search.controller.ProductControllerTest
✅ testFindProductAdvance_whenProductListIsExists_thenReturnProductListGetVm
✅ testProductSearchAutoComplete_whenProductNameList_thenReturnProductNameListVm
✅ search/target/surefire-reports/TEST-com.yas.search.kafka.ProductCdcConsumerTest.xml
4 tests were completed in 100s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.search.kafka.ProductCdcConsumerTest | 4✅ | 100s |
✅ com.yas.search.kafka.ProductCdcConsumerTest
✅ test_whenHavingCreateEvent_thenProcessFailed_shouldPerformRetry
✅ test_whenHavingDeleteEvent_shouldSyncAsDelete
✅ test_whenHavingUpdateEvent_shouldSyncAsUpdate
✅ test_whenHavingCreateEvent_shouldSyncAsCreate
✅ search/target/surefire-reports/TEST-com.yas.search.service.ProductServiceTest.xml
4 tests were completed in 456ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.search.service.ProductServiceTest | 4✅ | 456ms |
✅ com.yas.search.service.ProductServiceTest
✅ testFindProductAdvance_whenSortTypeIsDefault_ReturnProductListGetVm
✅ testAutoCompleteProductName_whenExistsProducts_returnProductNameListVm
✅ testFindProductAdvance_whenSortTypeIsPriceAsc_ReturnProductListGetVm
✅ testFindProductAdvance_whenSortTypeIsPriceDesc_ReturnProductListGetVm
✅ search/target/surefire-reports/TEST-com.yas.search.service.ProductSyncDataServiceTest.xml
6 tests were completed in 311ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.search.service.ProductSyncDataServiceTest | 6✅ | 311ms |
✅ com.yas.search.service.ProductSyncDataServiceTest
✅ updateProduct_whenProductExists_updatesProductAndSaves
✅ testGetProductEsDetailById_whenNormalCase_returnProductEsDetailVm
✅ testCreateProduct_whenNormalCase_createsAndSavesProduct
✅ testUpdateProduct_whenProductDoesNotExist_throwsNotFoundException
✅ testDeleteProduct_whenProductDoesNotExist_throwsNotFoundException
✅ testDeleteProduct_whenProductExists_deletesProduct
Loading