81 passed, 0 failed and 0 skipped
✅ location/target/failsafe-reports/TEST-com.yas.location.AddressControllerIT.xml
5 tests were completed in 912ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.AddressControllerIT | 5✅ | 912ms |
✅ com.yas.location.AddressControllerIT
✅ test_getAddress_shouldReturnData_ifProvideValidId
✅ test_getAllAddresses_shouldReturnData
✅ test_deleteAddress_shouldOk_ifProvideValidAccessTokenAndValidId
✅ test_deleteAddress_shouldReturn404_ifProvideAccessTokenAndInvalidId
✅ test_deleteAddress_shouldReturn403_ifProvideInvalidAccessToken
✅ location/target/failsafe-reports/TEST-com.yas.location.CountryControllerIT.xml
8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.CountryControllerIT | 8✅ | 2s |
✅ com.yas.location.CountryControllerIT
✅ test_getCountries_shouldReturnData
✅ test_getCountry_shouldReturn404_ifProvideValidAccessTokenButCountryNotFound
✅ test_deleteCountry_shouldDelete_ifProvideValidAccessTokenAndValidId
✅ test_getPaginateCountry_shouldReturnData_IfProvideValidAccessToken
✅ test_deleteCountry_shouldReturn403_ifProvideInvalidAccessToken
✅ test_getAllCountries_shouldReturnData_ifProvideValidAccessToken
✅ test_deleteCountry_shouldReturn404_ifProvideValidAccessTokenAndInvalidId
✅ test_getCountry_shouldReturnData_ifProvideValidAccessTokenAndValidId
✅ location/target/failsafe-reports/TEST-com.yas.location.DistrictControllerIT.xml
3 tests were completed in 441ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.DistrictControllerIT | 3✅ | 441ms |
✅ com.yas.location.DistrictControllerIT
✅ test_getDistrict_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getDistrict_shouldReturnData_ifProvideValidAccessTokenAndValidStateId
✅ test_getDistrict_shouldReturnData_ifProvideValidStateProvinceId
✅ location/target/failsafe-reports/TEST-com.yas.location.StateOrProvinceControllerIT.xml
10 tests were completed in 56s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.StateOrProvinceControllerIT | 10✅ | 56s |
✅ com.yas.location.StateOrProvinceControllerIT
✅ test_getStateWithCountryName_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getStateWithCountryName_shouldReturnData_ifProvideValidAccessAndValidId
✅ test_deleteState_shouldReturn403_ifProvideInvalidAccessToken
✅ test_getAllByCountryId_shouldReturnData_ifProvideValidAccessTokenAndValidId
✅ test_getAllPagination_shouldReturnData_ifProvideValidAccessTokenAndValidId
✅ test_deleteState_shouldDelete_ifProvideValidAccessAndValidId
✅ test_getState_shouldReturnData_ifProvideValidId
✅ test_getState_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getAllCountryId_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getState_shouldReturnData_ifProvideValidAccessTokenAndValidId
✅ location/target/surefire-reports/TEST-com.yas.location.controller.AddressControllerTest.xml
6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.controller.AddressControllerTest | 6✅ | 2s |
✅ com.yas.location.controller.AddressControllerTest
✅ testUpdateAddress_whenRequestIsValid_thenReturnOk
✅ testCreateAddress_whenDistrictIsNull_thenReturnBadRequest
✅ testUpdateAddress_whenPhoneIsOverMaxLength_thenReturnBadRequest
✅ testUpdateAddress_whenDistrictIsNull_thenReturnBadRequest
✅ testCreateAddress_whenPhoneIsOverMaxLength_thenReturnBadRequest
✅ testCreateAddress_whenRequestIsValid_thenReturnOk
✅ location/target/surefire-reports/TEST-com.yas.location.controller.CountryControllerTest.xml
6 tests were completed in 887ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.controller.CountryControllerTest | 6✅ | 887ms |
✅ com.yas.location.controller.CountryControllerTest
✅ testUpdateCountry_whenRequestIsValid_thenReturnOk
✅ testCreateCountry_whenCodeIsOverMaxLength_thenReturnBadRequest
✅ testCreateCountry_whenIdIsBlank_thenReturnBadRequest
✅ testCreateCountry_whenRequestIsValid_thenReturnOk
✅ testUpdateCountry_whenCodeIsOverMaxLength_thenReturnBadRequest
✅ testUpdateCountry_whenIdIsBlank_thenReturnBadRequest
✅ location/target/surefire-reports/TEST-com.yas.location.controller.StateOrProvinceControllerTest.xml
6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.controller.StateOrProvinceControllerTest | 6✅ | 1s |
✅ com.yas.location.controller.StateOrProvinceControllerTest
✅ testCreateStateOrProvince_whenNameIsBlank_thenReturnBadRequest
✅ testCreateStateOrProvince_whenRequestIsValid_thenReturnOk
✅ testCreateStateOrProvince_whenCodeIsOverMaxLength_thenReturnBadRequest
✅ testUpdateStateOrProvince_whenRequestIsValid_thenReturnOk
✅ testUpdateStateOrProvince_whenNameIsBlank_thenReturnBadRequest
✅ testUpdateStateOrProvince_whenCodeIsOverMaxLength_thenReturnBadRequest
✅ location/target/surefire-reports/TEST-com.yas.location.service.AddressServiceTest.xml
9 tests were completed in 317ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.service.AddressServiceTest | 9✅ | 317ms |
✅ com.yas.location.service.AddressServiceTest
✅ createAddress_inValidData_ThrowsCountryNotFoundException
✅ updateAddress_inValidAddressId_ThrowsAddressNotFoundException
✅ deleteAddress_givenAddressIdValid_thenSuccess
✅ getAddress_NotExistInDatabase_ThrowsNotFoundException
✅ getAddress_ExistInDatabase_Success
✅ getAllAddresses_Success
✅ updateAddress_validData_Success
✅ createAddress_validDate_Success
✅ deleteAddress_givenAddressIdInValid_ThrowsAddressNotFoundException
✅ location/target/surefire-reports/TEST-com.yas.location.service.CountryServiceTest.xml
13 tests were completed in 14s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.service.CountryServiceTest | 13✅ | 14s |
✅ com.yas.location.service.CountryServiceTest
✅ updateCountry_ValidData_Success
✅ getCountry_ExistInDatabase_Success
✅ createCountry_WithCodeExisted_ThrowsCodeAlreadyExistedException
✅ createCountry_WithNameExisted_ThrowsNameAlreadyExistedException
✅ updateCountry_WithIdNotValid_ThrowsCountryNotFoundException
✅ updateCountry_WithCodeExisted_ThrowsCodeAlreadyExistedException
✅ deleteCountry_WithValidId_Success
✅ updateCountry_WithNameExisted_ThrowsNameAlreadyExistedException
✅ deleteCountry_WithInValidId_ThrowsCountryNotFoundException
✅ getAllCountries_Success
✅ getCountry_NotInDatabase_ThrowsCountryNotFoundException
✅ createCountry_ValidData_Success
✅ getCountries_Pagination_Success
✅ location/target/surefire-reports/TEST-com.yas.location.service.DistrictServiceTest.xml
1 tests were completed in 82ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.service.DistrictServiceTest | 1✅ | 82ms |
✅ com.yas.location.service.DistrictServiceTest
✅ getDistrict_WithValidId_Success
✅ location/target/surefire-reports/TEST-com.yas.location.service.StateOrProvinceServiceTest.xml
14 tests were completed in 265ms with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.location.service.StateOrProvinceServiceTest | 14✅ | 265ms |
✅ com.yas.location.service.StateOrProvinceServiceTest
✅ updateStateOrProvince_WithNameExisted_ThrowsNameAlreadyExistedException
✅ getStateOrProvinceAndCountryName_Success
✅ deleteStateOrProvince_WithExisted_Success
✅ getAllStateOrProvinceByCountryId_Success
✅ createStateOrProvince_ValidData_Success
✅ getStateOrProvincePagination_Success
✅ updateStateOrProvince_WithInValidId_ThrowsStateOrProvinceNotFound
✅ getStateOrProvince_WithInValidId_ThrowsStateOrProvinceNotFoundException
✅ createStateOrProvince_WithNameExisted_ThrowsNameAlreadyExistException
✅ getStateOrProvince_WithValidId_Success
✅ getAllStateOrProvinces_Success
✅ updateStateOrProvince_WithValidData_Success
✅ createStateOrProvince_WithCountryNotExist_ThrowsCountryNotFoundException
✅ deleteStateOrProvince_WithInvalidId_ThrowsStateOrProvinceNotFoundException