Skip to content

Commit 7d39593

Browse files
committed
2 parents 195d959 + 4c75dd7 commit 7d39593

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,25 @@ And sometimes gives suggestions what program you may want to test.
4848

4949
To test input folder (only .in and .out):
5050

51-
`utest <prog> <folder>`
51+
utest <prog> <folder>
5252

5353
### Basic in + out + ignore err (err is not checked anytime)
5454

5555
To test input folder (only .in and .out):
5656

57-
`utest --tierr <prog> <folder>`
57+
utest --tierr <prog> <folder>
5858

5959
### Basic in + out + err (missing .err file cause error)
6060

6161
To test input folder (.in, .out, and .err files):
6262

63-
`utest --tnerr <prog> <folder>`
63+
utest --tnerr <prog> <folder>
6464

6565
### Basic in + out + err (missing .err files are ignored)
6666

6767
To test input folder (.in, .out, and .err files):
6868

69-
`utest --tgerr <folder> <prog> <folder>`
69+
utest --tgerr <folder> <prog> <folder>
7070

7171
### Globbing input files
7272

@@ -85,7 +85,7 @@ tests
8585
We want to feed utest with input files nested in subdirectories.
8686
For that purpose just use:
8787

88-
`utest <prog> "./tests/**/*.in"`
88+
utest <prog> "./tests/**/*.in"
8989

9090
**Note that globbing must be provided in quotes otherwise it will be parsed by shell and won't work!**
9191

@@ -110,7 +110,7 @@ We must tell utest where to find output files.
110110
We use `--tgout` flag that utilizes dynamic variable to generate output path.
111111
You can read more about dynamic variables in *variables* section.
112112

113-
`utest <prog> --tgout "%input_file_folder/out" "./tests/**/input.txt"`
113+
utest <prog> --tgout "%input_file_folder/out" "./tests/**/input.txt"
114114

115115
**Note that globbing must be provided in quotes otherwise it will be parsed by shell and won't work!**
116116

@@ -138,6 +138,9 @@ You can read more about dynamic variables in *variables* section.
138138
| **--tsty-format** | | Make tester use <i>!error!</i>, <i>!info!</i> etc. output format |
139139
| **--tterm-format** | | Make tester use (default) <i>term</i> color formatting |
140140
| **--tc**<br>**--tnone-format** | | Make tester use <i>clean</i> (only-text) formatting |
141+
| **--tpipe-in** |*[command]* | Use preprocessing of input. See <b>Piping</b> section |
142+
| **--tpipe-out** |*[command]* | Use postprocessing of output. See <b>Piping</b> section |
143+
| **--tpipe-out-err** |*[command]* | Use postprocessing of output error stream. See <b>Piping</b> section |
141144
| **--ts** | | Skips always oks |
142145
| **--tierr** | | Always ignore stderr output |
143146
| **--tgout** | *[dir]* | Sets <i>(good)</i> .out input directory<br>(default is the same as dir/inputs will be still found in dir location/use when .out and .in are in separate locations) |
@@ -271,4 +274,4 @@ You must identify program by the command it calls.
271274

272275
[screenshot 1]: https://raw.githubusercontent.com/styczynski/bash-universal-tester/master/static/screenshots/screenshot1.png
273276

274-
[link download latest]: https://github.com/styczynski/bash-universal-tester/archive/1.0.0.zip
277+
[link download latest]: https://github.com/styczynski/bash-universal-tester/archive/1.6.2.zip

0 commit comments

Comments
 (0)