Skip to content

added new test block in testng xml to run sad path of update order th…

cf15fc9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

updated sad path scenarios for the update order PUT request #30

added new test block in testng xml to run sad path of update order th…
cf15fc9
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results succeeded Sep 23, 2024 in 0s

Test Results ✔️

Tests passed successfully

✔️ target/surefire-reports/TEST-TestSuite.xml

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

Test suite Passed Failed Skipped Time
TestSuite 34✔️ 15s

✔️ TestSuite

io.github.mfaisalkhatri.api.reqres.tests.ApiTests
  ✔️ testGetAPI
  ✔️ testDeleteAPI
  ✔️ testPutAPI
  ✔️ testPatchAPI
  ✔️ testPostAPI
io.github.mfaisalkhatri.api.restfulbooker.tests.RestfulBookerEndToEndTests
  ✔️ createBookingTest
  ✔️ getBookingTest
  ✔️ generateTokenTest
  ✔️ updateBookingTest
  ✔️ updatePartialBookingTest
  ✔️ deleteBookingTest
  ✔️ testBookingDeleted
io.github.mfaisalkhatri.api.restfulecommerce.SadPathTests
  ✔️ testShouldNotCreateOrder_WhenProductIdFieldIsMissing
  ✔️ testShouldNotCreateOrder_WhenOrderListIsNotArray
  ✔️ testShouldNotFetchOrder_WhenNoOrderExists
  ✔️ testShouldNotFetchOrder_WhenNoOrderExistsForOrderId
  ✔️ testShouldNotFetchOrder_WhenNoOrderExistsForUserId
  ✔️ testShouldNotFetchOrder_WhenNoOrderExistsForProductId
  ✔️ testShouldNotUpdateOrder_WhenTokenIsMissing
  ✔️ testShouldNotUpdateOrder_WhenOrderIdIsNotFound
  ✔️ testShouldNotUpdateOrderWithInvalidToken
  ✔️ testShouldNotUpdateOrder_WhenOrderDetailsAreNotProvided
io.github.mfaisalkhatri.api.restfulecommerce.HappyPathTests
  ✔️ testShouldPerformHealthCheckOfServer
  ✔️ testShouldCreateNewOrders
  ✔️ testShouldGetAllOrders
  ✔️ testShouldGetOrderUsingOrderId
  ✔️ testShouldGetOrdersUsingUserId
  ✔️ testShouldGetOrdersUsingProductId
  ✔️ testShouldGetOrdersUsingOrderIdProductIdAndUserId
  ✔️ testTokenGeneration
  ✔️ testShouldUpdateTheOrderUsingPut
  ✔️ testShouldUpdateTheOrderUsingPatch
  ✔️ testShouldDeleteTheOrder
  ✔️ testShouldNotRetrieveDeletedOrder