Skip to content

Commit 6e79db2

Browse files
committed
chore: minor updates to readme
1 parent ba23c6f commit 6e79db2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pactflow-ai generate \
8585
--language typescript \
8686
--code ./src/product.js \
8787
--code ./src/api.js \
88-
--template ./src/pact.test.template \
88+
--template ./src/pact.test.template
8989
```
9090

9191
**With additional instructions (inline)**

src/test.instructions.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
* Use a 3 level hierarchy for tests
66
1. Level 1 should be the API under test as a `describe` block e.g. "Product API"
77
2. Level 2 should be the endpoint as a `describe` block e.g. "GET /products/:id", "POST /products"
8-
3. Level 3 should be the scenario as a `test` block e.g. "Given a valid user, returns a 200", "Given an invalid user, returns a 400"
8+
3. Level 3 should be the scenario as a `test` block e.g. "Given a valid user, returns a 200", "Given an invalid user, returns a 400"
9+
* Write test cases for the positive (HTTP 200) scenario and negative scenarios, specifically the case of 400, 401 and 404

0 commit comments

Comments
 (0)