Codebase list apertium-apy / c10f3f1e-f7a0-417c-bfca-8eb8d7c6aeb4/main tests
c10f3f1e-f7a0-417c-bfca-8eb8d7c6aeb4/main

Tree @c10f3f1e-f7a0-417c-bfca-8eb8d7c6aeb4/main (Download .tar.gz)

Testing
=======

The tests require some test data.

To install the test data on Debian-based systems, first install core
tools as show at http://wiki.apertium.org/wiki/Debian and then do

    sudo apt-get install apertium-sme-nob apertium-es-en
    mkdir ~/apy-testdata
    cd ~/apy-testdata
    git clone --depth 1 https://github.com/apertium/apertium-nno
    cd apertium-nno
    ./autogen.sh
    make -j4

Now go back to the APy directory, and do

    NONPAIRS=~/apy-testdata python3 -m unittest tests/test*.py

to run the tests.