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/references/concepts.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Core concepts and usage
2
+
title: Command-line reference
3
3
---
4
4
5
5
This page describes some key concepts before you use **`CHKware`**.
@@ -17,30 +17,33 @@ There are two parts to **`CHKware`** tool.
17
17
18
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
-
**[Options]**
20
+
#### Options
21
21
22
-
-`--result, -r` <small>**_optional_**</small>: When you put this option, the you'll see only the result.
23
-
-`--no-format, -nf` <small>**_optional_**</small>: When you put this option, the result will not be formatter.
22
+
-`--result, -r` <small>**_optional_**</small>: When you put this option, the you'll see only the result.
23
+
-`--no-format, -nf` <small>**_optional_**</small>: When you put this option, the result will not be formatter.
24
24
25
-
**[Arguments]**
25
+
#### Arguments
26
26
27
-
-`[FILE].chk` <small>**_required_**</small>: File that you want to execute.
28
-
-`[VARIABLEn=VALUEn]` <small>**_optional_**</small>: Pass variables from command-line. format: _variableName1=value1_[space]_variableName2=value2_
27
+
-`[FILE].chk` <small>**_required_**</small>: File that you want to execute.
28
+
-`[VARIABLEn=VALUEn]` <small>**_optional_**</small>: Pass variables from command-line. format: _variableName1=value1_[space]_variableName2=value2_
29
+
30
+
---
29
31
30
32
-`chk testcase [Options] [FILE].chk`
31
33
32
34
This sub command runs a file written in [testcase specification file](testcase-reference) format.
33
35
34
36
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).
35
37
36
-
**[Options]**
38
+
#### Options
37
39
38
-
-`--result, -r` <small>**_optional_**</small>: When you put this option, the you'll see only the result.
39
-
-`--no-format, -nf` <small>**_optional_**</small>: When you put this option, the result will not be formatter.
40
+
-`--result, -r` <small>**_optional_**</small>: When you put this option, the you'll see only the result.
41
+
-`--no-format, -nf` <small>**_optional_**</small>: When you put this option, the result will not be formatter.
40
42
41
-
**[Arguments]**
43
+
#### Arguments
42
44
43
-
-`[FILE].chk` <small>**_required_**</small>: File that you want to execute.
45
+
-`[FILE].chk` <small>**_required_**</small>: File that you want to execute.
46
+
-`[VARIABLEn=VALUEn]` <small>**_optional_**</small>: Pass variables from command-line. format: _variableName1=value1_[space]_variableName2=value2_
0 commit comments