tests-make some_tests.toml
brew install fuyutarow/tap/tests-make
Support
- Homebrew (mac)
- Linuxbrew (Linux, WSL)
[tests.hello-success]
script = '''
echo hello, world!
'''
tobe = '''
hello, world!
'''
The script
field contains the shell script to be executed. The tobe
field describes the standard output to be expected.
[env]
INPUT = '''
hello, world!
'''
[tests.hello-tests-make]
script = '''
echo hello, ${INPUT}
'''
tobe = '''
hello, tests-make
'''
see example
includes = ["examples/others/tests.toml"]
see example
For a more practical example of tests-make, see this project. (partiql-rs)
In this project, we are testing the standard output of the CLI command pq
.