Skip to content

#882 create a shared project #342

#882 create a shared project

#882 create a shared project #342

GitHub Actions / Search-Service-Unit-Test-Results succeeded Sep 19, 2024 in 1s

16 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
search/target/surefire-reports/TEST-com.yas.search.consumer.ProductSyncDataConsumerTest.xml 4✅ 2s
search/target/surefire-reports/TEST-com.yas.search.controller.ProductControllerTest.xml 2✅ 5s
search/target/surefire-reports/TEST-com.yas.search.service.ProductServiceTest.xml 4✅ 341ms
search/target/surefire-reports/TEST-com.yas.search.service.ProductSyncDataServiceTest.xml 6✅ 516ms

✅ search/target/surefire-reports/TEST-com.yas.search.consumer.ProductSyncDataConsumerTest.xml

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.consumer.ProductSyncDataConsumerTest 4✅ 2s

✅ com.yas.search.consumer.ProductSyncDataConsumerTest

✅ testListen_whenCreateAction_createProduct
✅ testListen_whenUpdateAction_updateProduct
✅ testListen_whenInvalidAction_noAction
✅ testListen_whenDeleteAction_deleteProduct

✅ search/target/surefire-reports/TEST-com.yas.search.controller.ProductControllerTest.xml

2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.controller.ProductControllerTest 2✅ 5s

✅ com.yas.search.controller.ProductControllerTest

✅ testFindProductAdvance_whenProductListIsExists_thenReturnProductListGetVm
✅ testProductSearchAutoComplete_whenProductNameList_thenReturnProductNameListVm

✅ search/target/surefire-reports/TEST-com.yas.search.service.ProductServiceTest.xml

4 tests were completed in 341ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.service.ProductServiceTest 4✅ 341ms

✅ 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 516ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.service.ProductSyncDataServiceTest 6✅ 516ms

✅ com.yas.search.service.ProductSyncDataServiceTest

✅ updateProduct_whenProductExists_updatesProductAndSaves
✅ testGetProductEsDetailById_whenNormalCase_returnProductEsDetailVm
✅ testCreateProduct_whenNormalCase_createsAndSavesProduct
✅ testUpdateProduct_whenProductDoesNotExist_throwsNotFoundException
✅ testDeleteProduct_whenProductDoesNotExist_throwsNotFoundException
✅ testDeleteProduct_whenProductExists_deletesProduct