-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sad path tests for patch api requests (#34)
* added sad path scenarios for patch api and updated patch happy path scenario method name, added new testng xml for partial update * updated testng.xml
- Loading branch information
1 parent
9257489
commit b934e72
Showing
4 changed files
with
90 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | ||
<suite name="Restful ECommerce Test Suite"> | ||
<test name="Testing Happy Path Scenarios of Creating and Updating Orders"> | ||
<classes> | ||
<class name="io.github.mfaisalkhatri.api.restfulecommerce.HappyPathTests"> | ||
<methods> | ||
<include name="testShouldCreateNewOrders"/> | ||
<include name="testShouldPartialUpdateTheOrderUsingPatch"/> | ||
</methods> | ||
</class> | ||
</classes> | ||
</test> | ||
</suite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters