You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples/testcase-examples.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,13 @@ title: Testcase examples
6
6
7
7
- This page should be use as reference for specification files.
8
8
- This page is subject to change. It is requested to check this page frequently.
9
-
:::
9
+
10
+
:::
10
11
11
12
:::note
13
+
12
14
Case-wise more example can be found in [https://github.com/chkware/cli](https://github.com/chkware/cli/blob/main/tests/resources/storage/sample_config/bitcoin-usd-testcase.chk) repository
The above testcase spec. doc define a request that makes a `POST` call to `https://reqres.in/api/users` URL with a body `{"name": "My Name", "job": "My Job"}`.
@@ -46,7 +49,7 @@ Assertion [reference with examples](/references/testcase-reference#assertions) c
46
49
47
50
### A minimal Testcase with out-file request
48
51
49
-
A http spec. doc can be written on separate file, that does same as above request. Let's call it `same-request.chk`. The http spec. doc by default exposes `$_response` object.
52
+
A http spec. doc can be written on separate file, that does same as above request. Let's call it `same-request.chk`. The http spec. doc by default exposes `_response` object.
Copy file name to clipboardExpand all lines: docs/examples/variable-examples.md
+13-17Lines changed: 13 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,19 @@ title: Variable examples
6
6
7
7
- This page should be use as reference for specification files.
8
8
- This page is subject to change. It is requested to check this page frequently.
9
-
:::
9
+
10
+
:::
10
11
11
12
:::note
13
+
12
14
Case-wise more example can be found in [https://github.com/chkware/cli](https://github.com/chkware/cli/tree/main/tests/resources/storage/sample_config/pass_cases/variables) repository
0 commit comments