Fix/yas 1234 #1239
Fix/yas 1234 #1239
31 passed, 0 failed and 0 skipped
✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT.xml
No tests found
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerIT | 36s |
✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$AddCartItemTest.xml
2 tests were completed in 496ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerIT$AddCartItemTest | 2✅ | 496ms |
✅ com.yas.cart.controller.CartItemControllerIT$AddCartItemTest
✅ testAddCartItem_whenCartItemExists_shouldUpdateCartItemQuantity
✅ testAddCartItem_whenRequestIsValid_shouldReturnCartItemGetVm
✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$DeleteCartItemTest.xml
1 tests were completed in 34s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerIT$DeleteCartItemTest | 1✅ | 34s |
✅ com.yas.cart.controller.CartItemControllerIT$DeleteCartItemTest
✅ testDeleteCartItem_whenCartItemExists_shouldDeleteCartItem
✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$DeleteOrAdjustCartItemTest.xml
2 tests were completed in 735ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerIT$DeleteOrAdjustCartItemTest | 2✅ | 735ms |
✅ com.yas.cart.controller.CartItemControllerIT$DeleteOrAdjustCartItemTest
✅ testDeleteOrAdjustCartItem_whenDeleteQuantityIsLessThanCartItemQuantity_shouldAdjustCartItemQuantity
✅ testDeleteOrAdjustCartItem_whenDeleteQuantityIsGreaterThanOrEqualToCartItemQuantity_shouldDeleteCartItem
✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$GetCartItemsTest.xml
1 tests were completed in 314ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerIT$GetCartItemsTest | 1✅ | 314ms |
✅ com.yas.cart.controller.CartItemControllerIT$GetCartItemsTest
✅ testGetCartItems_whenCartItemsExist_shouldReturnCartItems
✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$UpdateCartItemTest.xml
1 tests were completed in 207ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerIT$UpdateCartItemTest | 1✅ | 207ms |
✅ com.yas.cart.controller.CartItemControllerIT$UpdateCartItemTest
✅ testUpdateCartItem_whenRequestIsValid_shouldReturnCartItemGetVm
✅ cart/target/failsafe-reports/TEST-com.yas.cart.service.ProductServiceIT.xml
1 tests were completed in 27s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.service.ProductServiceIT | 1✅ | 27s |
✅ com.yas.cart.service.ProductServiceIT
✅ test_getProducts_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest.xml
No tests found
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerTest | 4s |
✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$AddToCartTest.xml
4 tests were completed in 82ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerTest$AddToCartTest | 4✅ | 82ms |
✅ com.yas.cart.controller.CartItemControllerTest$AddToCartTest
✅ testAddToCart_whenRequestIsValid_shouldReturnCartItem
✅ testAddToCart_whenProductIdIsNull_shouldReturnBadRequest
✅ testAddToCart_whenQuantityIsLessThanOne_shouldReturnBadRequest
✅ testAddToCart_whenQuantityIsNull_shouldReturnBadRequest
✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$DeleteCartItemTest.xml
1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerTest$DeleteCartItemTest | 1✅ | 3s |
✅ com.yas.cart.controller.CartItemControllerTest$DeleteCartItemTest
✅ testDeleteCartItem_whenRequestIsValid_shouldReturnNoContent
✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$DeleteOrAdjustCartItemTest.xml
3 tests were completed in 431ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerTest$DeleteOrAdjustCartItemTest | 3✅ | 431ms |
✅ com.yas.cart.controller.CartItemControllerTest$DeleteOrAdjustCartItemTest
✅ testDeleteOrAdjustCartItem_whenQuantityIsLessThanOne_shouldReturnBadRequest
✅ testDeleteOrAdjustCartItem_whenRequestIsValid_shouldReturnUpdatedCartItems
✅ testDeleteOrAdjustCartItem_whenQuantityIsNull_shouldReturnBadRequest
✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$GetCartItemsTest.xml
1 tests were completed in 38ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerTest$GetCartItemsTest | 1✅ | 38ms |
✅ com.yas.cart.controller.CartItemControllerTest$GetCartItemsTest
✅ testGetCartItems_whenRequestIsValid_shouldReturnCartItems
✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$UpdateCartItemTest.xml
3 tests were completed in 74ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.controller.CartItemControllerTest$UpdateCartItemTest | 3✅ | 74ms |
✅ com.yas.cart.controller.CartItemControllerTest$UpdateCartItemTest
✅ testUpdateCartItem_whenQuantityIsNull_shouldReturnBadRequest
✅ testUpdateCartItem_whenQuantityIsLessThanOne_shouldReturnBadRequest
✅ testUpdateCartItem_whenRequestIsValid_shouldReturnUpdatedCartItemGetVm
✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest.xml
No tests found
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.service.CartItemServiceTest | 649ms |
✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$AddCartItemTest.xml
4 tests were completed in 60ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.service.CartItemServiceTest$AddCartItemTest | 4✅ | 60ms |
✅ com.yas.cart.service.CartItemServiceTest$AddCartItemTest
✅ testAddCartItem_whenProductNotFound_shouldThrowNotFoundException
✅ testAddCartItem_whenAcquireLockFailed_shouldThrowInternalServerErrorException
✅ testAddCartItem_whenCartItemDoesNotExist_shouldCreateCartItem
✅ testAddCartItem_whenCartItemExists_shouldUpdateQuantity
✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$DeleteOrAdjustCartItemTest.xml
3 tests were completed in 513ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.service.CartItemServiceTest$DeleteOrAdjustCartItemTest | 3✅ | 513ms |
✅ com.yas.cart.service.CartItemServiceTest$DeleteOrAdjustCartItemTest
✅ testDeleteOrAdjustCartItem_whenDeleteQuantityLessThanCartItemQuantity_shouldUpdateCartItem
✅ testDeleteOrAdjustCartItem_whenCartItemDeleteVmsDuplicated_shouldThrowBadRequestException
✅ testDeleteOrAdjustCartItem_whenDeleteQuantityGreaterThanCartItemQuantity_shouldDeleteCartItem
✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$GetCartItemsTest.xml
1 tests were completed in 9ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.service.CartItemServiceTest$GetCartItemsTest | 1✅ | 9ms |
✅ com.yas.cart.service.CartItemServiceTest$GetCartItemsTest
✅ testGetCartItems_shouldReturnCartItems
✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$UpdateCartItemTest.xml
2 tests were completed in 26ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.service.CartItemServiceTest$UpdateCartItemTest | 2✅ | 26ms |
✅ com.yas.cart.service.CartItemServiceTest$UpdateCartItemTest
✅ testUpdateCartItem_whenProductNotFound_shouldThrowNotFoundException
✅ testUpdateCartItem_whenRequestIsValid_shouldReturnCartItem
✅ cart/target/surefire-reports/TEST-com.yas.cart.service.ProductServiceTest.xml
1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.cart.service.ProductServiceTest | 1✅ | 2s |
✅ com.yas.cart.service.ProductServiceTest
✅ getProducts_NormalCase_ReturnProductThumbnailVms