Skip to content

Add maven checkstyle plugin and Add Checkstyle to CI

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

6 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
promotion/target/surefire-reports/TEST-com.yas.promotion.controller.PromotionControllerTest.xml 3✅ 4s
promotion/target/surefire-reports/TEST-com.yas.promotion.service.PromotionServiceTest.xml 3✅ 5s

✅ promotion/target/surefire-reports/TEST-com.yas.promotion.controller.PromotionControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.promotion.controller.PromotionControllerTest 3✅ 4s

✅ com.yas.promotion.controller.PromotionControllerTest

✅ testCreatePromotion_whenNameIsOverMaxLength_thenReturnBadRequest
✅ testCreatePromotion_whenNameIsBlank_thenReturnBadRequest
✅ testCreatePromotion_whenRequestIsValid_thenReturnOk

✅ promotion/target/surefire-reports/TEST-com.yas.promotion.service.PromotionServiceTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.promotion.service.PromotionServiceTest 3✅ 5s

✅ com.yas.promotion.service.PromotionServiceTest

✅ createPromotion_ThenSuccess
✅ createPromotion_WhenExistedSlug_ThenDuplicatedExceptionThrown
✅ getPromotionList_ThenSuccess