Provola, provalo, just test it!
provola
is your best ~~cheese~~ friend when you need to test code quickly.
Just create an input file, an expected output file and a program to digest
the input and provola
will test your program automatically whenever you change
the code.
```shell
echo 'main = interact reverse' > reverse.hs
echo -n abcd > in.txt
echo -n dcba > out.txt
provola -i in.txt -o out.txt -s reverse.hs -w . ```
provola
provides shell autocompletion for even faster usage.
You can install autocompletion for yout favourite shell:
shell
provola --generate zsh > ~/.zfunc/_provola
| Language | Build | Run |
|------------|-------------|----------|
| Bash | / | ✓ |
| C++ | gcc
| ✓ |
| C | gcc
| ✓ |
| Haskell | stack ghc
| ✓ |
| JavaScript | | ✓ node
|
| PHP | | ✓ |
| Python | | ✓ |
| Rust | rustc
| ✓ |
provola
is able to use test runners generated by common test frameworks.
Example:
shell
provola -T GoogleTest -t path/to/gtest/executable
This is a (work in progress) list of supported frameworks:
| Framework | Language | |-------------|----------| | Google Test | C++ |