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
This sub command runs a file written in [http specification file](http-reference) format.
17
17
18
-
After you execute this command `chk` should make request by given request format, and display the response. You can also customize the response with `request.result` key. see [usage](/examples/http-examples#request-with-form) and [documentation](/references/http-reference).
18
+
After you execute this command `chk` should make request by given request format, and display the response. You can also customize the response with `expose` key. see [usage](/examples/http-examples#request-with-form) and [documentation](/references/http-reference).
19
19
20
20
**[Options]**
21
-
-`--result` <small>***optional***</small>: When you put this option, the you'll see only the result.
21
+
-`--result, -r` <small>***optional***</small>: When you put this option, the you'll see only the result.
22
+
-`--no-format, -nf` <small>***optional***</small>: When you put this option, the result will not be formatter.
22
23
23
24
**[Arguments]**
24
25
-`[FILE].chk` <small>***required***</small>: File that you want to execute.
26
+
-`[VARIABLEn=VALUEn]` <small>***optional***</small>: Pass variables from command-line. format: _variableName1=value1_[space]_variableName2=value2_
25
27
26
-
-`chk testcase [FILE].chk`
28
+
-`chk testcase [Options] [FILE].chk`
27
29
28
30
This sub command runs a file written in [testcase specification file](testcase-reference) format.
29
31
30
32
After you execute this command `chk` should re-use `http` utility to request as per given structure on the file, execute test assertions, and display the result of the assertions. See [example](/examples/testcase-examples).
31
33
34
+
**[Options]**
35
+
-`--result, -r` <small>***optional***</small>: When you put this option, the you'll see only the result.
36
+
-`--no-format, -nf` <small>***optional***</small>: When you put this option, the result will not be formatter.
37
+
32
38
**[Arguments]**
33
39
-`[FILE].chk` <small>***required***</small>: File that you want to execute.
34
40
35
41
### Specification files
36
42
37
43
Test specification files are written in YAML, having file extension `.chk`. So, before you start writing any specification file, you MUST have a proper knowledge of YAML, see [YAML cheatsheet](https://quickref.me/yaml). We are using this specific extension (`.chk`) so these files do not make you confuse in typical project layout.
38
44
39
-
> In the future evolution path of **chkware** we are going to introduce more and more specification options and specification types and versions.
45
+
> In the future evolution path of **CHKware** we are going to introduce more and more specification options and specification types and versions.
0 commit comments