Skip to content

Commit 217c601

Browse files
authored
Add more details on rsp
1 parent 7d66025 commit 217c601

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

docs/core/testing/unit-testing-platform-intro.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,28 @@ The list below described only the platform options. To see the specific options
185185

186186
- **`@`**
187187

188-
Specifies a response file (rsp).
188+
Specifies a response file (rsp). A response file is a file that includes command-line arguments, each in a separate line. This helps for very long commands that may exceed the terminal limits. You can also specify a response file along with extra command-line arguments. For example:
189+
190+
```console
191+
./TestExecutable.exe @"filter.rsp" --timeout 10s
192+
```
193+
194+
where *filter.rsp* can have the following contents:
195+
196+
```rsp
197+
--filter "A very long filter"
198+
```
199+
200+
Or a single rsp file can be used to specify both timeout and filter as follows:
201+
202+
```console
203+
./TestExecutable.exe @"arguments.rsp"
204+
```
205+
206+
```rsp
207+
--filter "A very long filter"
208+
--timeout 10s
209+
```
189210

190211
- **`--config-file`**
191212

0 commit comments

Comments
 (0)