Skip to content

Add maven checkstyle plugin and Add Checkstyle to CI

Sign in for the full log view
GitHub Actions / Product-Service-Unit-Test-Results succeeded Aug 6, 2024 in 0s

24 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
product/target/surefire-reports/TEST-com.yas.product.service.CategoryServiceTest.xml 2✅ 48ms
product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml 15✅ 11s
product/target/surefire-reports/TEST-com.yas.product.service.ProductTemplateServiceTest.xml 7✅ 2s

✅ product/target/surefire-reports/TEST-com.yas.product.service.CategoryServiceTest.xml

2 tests were completed in 48ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.service.CategoryServiceTest 2✅ 48ms

✅ com.yas.product.service.CategoryServiceTest

✅ getCategoryById_Success
✅ getCategories_Success

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

15 tests were completed in 11s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.service.ProductServiceTest 15✅ 11s

✅ com.yas.product.service.ProductServiceTest

✅ getFeaturedProducts_WhenEverythingIsOkay_Success
✅ getProductsFromCategory_CategoryIsNonExist_ThrowsNotFoundException
✅ getProductsFromCategory_WhenFindAllByCategory_ThenSuccess
✅ getProductsWithFilter_WhenFilterByBrandName_ThenSuccess
✅ getListFeaturedProductsByListProductIds_whenAllProductIdsValid_shouldSuccess
✅ deleteProduct_givenProductIdInvalid_thenThrowNotFoundException
✅ getProductsByMultiQuery_WhenFilterByBrandNameAndProductName_ThenSuccess
✅ getProduct_whenProductIdInvalid_shouldThrowException
✅ getProductsByBrand_BrandIsNonExist_ThrowsNotFoundException
✅ deleteProduct_givenProductIdValid_thenSuccess
✅ getProductsWithFilter_WhenFilterByBrandNameAndProductName_ThenSuccess
✅ getProductsWithFilter_whenFindAll_thenSuccess
✅ getProduct_whenProductIdValid_shouldSuccess
✅ getProductsWithFilter_WhenFilterByProductName_ThenSuccess
✅ getProductsByBrand_BrandSlugIsValid_Success

✅ product/target/surefire-reports/TEST-com.yas.product.service.ProductTemplateServiceTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.product.service.ProductTemplateServiceTest 7✅ 2s

✅ com.yas.product.service.ProductTemplateServiceTest

✅ saveProductTemplate_WhenDuplicateName_ThenThrowDuplicatedException
✅ getPageableProductTemplate_WhenGetPageable_thenSuccess
✅ updateProductTemplate_WhenIdProductTemplateNotExist_ThenThrowNotFoundException
✅ saveProductTemplate_WhenProductTemplatePostVm_ThenSuccess
✅ getProductTemplate_WhenIdProductTemplateValid_thenSuccess
✅ saveProductTemplate_WhenProductAttributesNotFound_ThenThrowBadRequestException
✅ getProductTemplate_WhenIdProductTemplateNotExit_ThrowsNotFoundException