Unit and functional tests for Paperwork.
These tests uses a screenshot mechanism to make sure things haven't changed (see pytestshot).
It means they have to be run on a reference system:
- A Virtual Machine in Virtual Box (should be optional)
- GNU/Linux Debian stable (freshly installed ; no specific config)
- Gnome 3
Running the tests
$ sudo apt install python3-nose $ sudo pip3 install pytestshot $ nosetests3 -sv
Backend's tests are simple classical tests.
Frontend's tests mostly relies on screenshots. See pytestshot.