Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Steps To Add Acceptance Test
- Running Fitnesse server. Please follow the instructions on following page to start Fitnesse server
- Start web browser http://localhost:7070/OpenCga
- Adding Test Suite
- Click on Add, select Suite Page
- Click on Add, select Suite Page
- Adding Test Page
- Click the Suite to add a Test Page
- Click the Add button and select Test Page
- Adding Test(s)
- Click the Test Page and Click Edit, User will see a page like this
- Add Test(s) in Fitnesse tabular format.
- Example
!3 Login User <====> Heading / Test Name of Individual Test
!|Table: Rest Fixture | ${baseURL} | <====> Fitnesse Fixture Name e,g; RestFixture
| setBody | {"password" : "user_P@ssword"}| <====> Set Body in JSON format
| setHeader|Content-Type:application/json| <====> Set Header
| POST | /v1/users/test/login | | Content-Type: application/json || <====> Call Rest Function POST/GET/PUT etc|VERB (POST/GET/DEL/etc)| Parameters | Return Code | Return Header | Response |
For detail explanation of each individual fields, please read documentation from RestFixture
- Example
- Click the Test Page and Click Edit, User will see a page like this
Running Suite/Test
Click on Suite/Test Page to run complete Suite or individual Test page.
Table of Contents:
Table of Contents | ||
---|---|---|
|