| 1 |
apertium-regtest |
| 2 |
---------------- |
| 3 |
|
| 4 |
Regression testing system for Apertium. |
| 5 |
|
| 6 |
Full documentation: https://wiki.apertium.org/wiki/Apertium-regtest |
| 7 |
|
| 8 |
# Installation |
| 9 |
|
| 10 |
Can be run as-is by invoking the `apertium-regtest.py` file in this directory or by running |
| 11 |
|
| 12 |
```bash |
| 13 |
$ autoreconf -fvi |
| 14 |
$ ./configure |
| 15 |
# make install |
| 16 |
``` |
| 17 |
|
| 18 |
Which will install it as the command `apertium-regtest` |
| 19 |
|
| 20 |
# Usage |
| 21 |
|
| 22 |
## Static testing |
| 23 |
`apertium-regtest test` runs all tests and reports the results, exiting with error code `0` if all pass and `1` otherwise. |
| 24 |
|
| 25 |
## Interactively updating tests |
| 26 |
Test data can be updated either from a browser or from a terminal. For browser mode, run `apertium-regtest web` and for terminal `apertium-regtest cli`. |