Handle FE Product Template #578
GitHub Actions / Product-Service-Unit-Test-Results
succeeded
Oct 18, 2023 in 0s
Product-Service-Unit-Test-Results ✅
✅ product/target/surefire-reports/TEST-com.yas.product.controller.BrandControllerTest.xml
9 tests were completed in 191ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.controller.BrandControllerTest | 9✅ | 191ms |
✅ com.yas.product.controller.BrandControllerTest
✅ createBrand_SaveBrandPostVm_Success
✅ getBrand_FindIdBrand_Success
✅ getBrand_FindIdBrand_ThrowException
✅ updateBrand_UpdateBrand_Success
✅ deleteBrand_ValidCategory_Success
✅ deleteBrand_CategoryContainsProducts_ThrowBadRequestException
✅ updateBrand_FindIdBrandUpdate_ThrowException
✅ listBrands_ReturnList_Success
✅ deleteBrand_NotFoundCategory_ThrowNotFoundException
✅ product/target/surefire-reports/TEST-com.yas.product.controller.CategoryControllerTest.xml
6 tests were completed in 257ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.controller.CategoryControllerTest | 6✅ | 257ms |
✅ com.yas.product.controller.CategoryControllerTest
✅ ListCategories_ValidListCategoryGetVM_Success
✅ createCategory_ValidCategoryWithNotFoundParentId_ThrowNotFoundException
✅ getCategory_ValidCategoryGetDetailVM_Success
✅ getCategory_NotFoundCategoryGetDetailVM_ThrowNotFoundException
✅ createCategory_ValidCategoryWithOutParentId_Success
✅ createCategory_ValidCategoryWithParentId_Success
✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeControllerTest.xml
11 tests were completed in 144ms with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.controller.ProductAttributeControllerTest | 11✅ | 144ms |
✅ com.yas.product.controller.ProductAttributeControllerTest
✅ getProductAttribute_FindProductAttribute_Success
✅ updateProductAttribute_FindIdProductAttribute_ThrowException
✅ getProductAttribute_FinProductAttributeById_ThrowException
✅ deleteProductAttribute_givenProductAttributeIdInvalid_thenThrowNotFoundException
✅ createProductAttribute_ValidProductAttributeWithIdProductAttributeGroup_Success
✅ createProductAttribute_FindIdProductAttributeGroup_ThrowException
✅ updateProductAttribute_ValidProductAttributePostVmWithProductAttributeGroupId_Success
✅ updateProductAttribute_FindProductAttributeGroupId_ThrowException
✅ deleteProductAttribute_givenProductAttributeIdValid_thenSuccess
✅ listProductAttributes_ValidListProductAttributeGetVm_Success
✅ deleteProductAttribute_givenProductAttributeIdContainProductAttributeValue_thenThrowBadRequestException
✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeValueControllerTest.xml
8 tests were completed in 152ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.controller.ProductAttributeValueControllerTest | 8✅ | 152ms |
✅ com.yas.product.controller.ProductAttributeValueControllerTest
✅ updateProductAttributeValue_ProductAttributeValueIdIsInValid_NotFoundException
✅ listProductAttributeValuesByProductId_ReturnListProductAttributeValueGetVms_Success
✅ createProductAttributeValue_ProductIdIsInValid_BadRequestException
✅ createProductAttributeValue_ProductAttributeIdIsInValid_BadRequestException
✅ createProductAttributeValue_ReturnProductAttributeValueVm_Success
✅ listProductAttributeValuesByProductId_ProductIdIsInvalid_BadRequestException
✅ updateProductAttributeValue_ProductAttributeValueIdIsValid_Success
✅ deleteProductAttributeValueById_ProductAttributeValueIdIsInValid_Success
✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductOptionControllerTest.xml
7 tests were completed in 58ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.controller.ProductOptionControllerTest | 7✅ | 58ms |
✅ com.yas.product.controller.ProductOptionControllerTest
✅ getProductOption_ReturnProductOptionGetVm_Success
✅ createProductOption_VaildProductOptionPostVm_Success
✅ updateProductOption_ProductOptionIdIsInvalid_ThrowNotFoundException
✅ getProductOption_ProductOptionIdIsInvalid_ThrowNotFoundException
✅ listProductOption_ReturnListProductOption_Success
✅ updateProductOption_ProductOptionIdIsValid_Success
✅ deleteProductOption_givenProductOptionIdValid_thenSuccess
✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductOptionValueControllerTest.xml
3 tests were completed in 50ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.controller.ProductOptionValueControllerTest | 3✅ | 50ms |
✅ com.yas.product.controller.ProductOptionValueControllerTest
✅ listProductOptionValues_ReturnListProductOptionValueGetVm_Success
✅ listProductOptionValueOfProduct_ProductIdIsInvalid_ThrowNotFoundException
✅ listProductOptionValueOfProduct_ProductIdIsValid_Success
✅ product/target/surefire-reports/TEST-com.yas.product.model.ProductTest.xml
1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.model.ProductTest | 1✅ | 4ms |
✅ com.yas.product.model.ProductTest
✅ equalsVerifier
✅ product/target/surefire-reports/TEST-com.yas.product.service.CategoryServiceTest.xml
2 tests were completed in 14ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.service.CategoryServiceTest | 2✅ | 14ms |
✅ com.yas.product.service.CategoryServiceTest
✅ getCategoryById_Success
✅ getCategories_Success
✅ product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml
16 tests were completed in 3s with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.product.service.ProductServiceTest | 16✅ | 3s |
✅ com.yas.product.service.ProductServiceTest
✅ getFeaturedProducts_WhenEverythingIsOkay_Success
✅ getProductsFromCategory_CategoryIsNonExist_ThrowsNotFoundException
✅ getProductsFromCategory_WhenFindAllByCategory_ThenSuccess
✅ getProductsWithFilter_WhenFilterByBrandName_ThenSuccess
✅ getListFeaturedProductsByListProductIds_whenAllProductIdsValid_shouldSuccess
✅ deleteProductAttribute_givenProductAttributeIdInvalid_thenThrowNotFoundException
✅ getProductsByMultiQuery_WhenFilterByBrandNameAndProductName_ThenSuccess
✅ getProduct_whenProductIdInvalid_shouldThrowException
✅ getProductsByBrand_BrandIsNonExist_ThrowsNotFoundException
✅ deleteProduct_givenProductIdValid_thenSuccess
✅ getProductsWithFilter_WhenFilterByBrandNameAndProductName_ThenSuccess
✅ getProductsWithFilter_whenFindAll_thenSuccess
✅ getProduct_whenProductIdValid_shouldSuccess
✅ getFeaturedProductsById_whenProductIdInvalid_shouldThrowException
✅ getProductsWithFilter_WhenFilterByProductName_ThenSuccess
✅ getProductsByBrand_BrandSlugIsValid_Success
Loading