Skip to content

#882 create a shared project #311

#882 create a shared project

#882 create a shared project #311

GitHub Actions / Search-Service-Unit-Test-Results succeeded Sep 16, 2024 in 0s

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✅ 164ms
search/target/surefire-reports/TEST-com.yas.search.controller.ProductControllerTest.xml 2✅ 7s
search/target/surefire-reports/TEST-com.yas.search.service.ProductServiceTest.xml 4✅ 400ms
search/target/surefire-reports/TEST-com.yas.search.service.ProductSyncDataServiceTest.xml 6✅ 566ms

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

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

Test suite Passed Failed Skipped Time
com.yas.search.consumer.ProductSyncDataConsumerTest 4✅ 164ms

✅ 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 7s with 2 passed, 0 failed and 0 skipped.

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

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

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

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

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

✅ com.yas.search.service.ProductSyncDataServiceTest

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