Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

openpaperwork/paperwork-tests

Repository files navigation

Paperwork-tests

Unit and functional tests for Paperwork.

Reference system

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

Implementation

Backend's tests are simple classical tests.

Frontend's tests mostly relies on screenshots. See pytestshot.