Skip to content

Testing

Joachim Metz edited this page Apr 4, 2021 · 2 revisions

Automated tests

The artifacts package comes with automated tests. These tests are stored in the *_test.py files.

To run the automated tests:

PYTHONPATH=. python run_tests.py

Or on Windows:

set PYTHONPATH=.
C:\Python39\python.exe run_tests.py

If you're running git on Windows make sure you have autocrlf turned off otherwise the tests using the test text files will fail.

git config --global core.autocrlf false
Clone this wiki locally