Running the test suite

Hartmut Goebel edited this page Jul 28, 2017 · 2 revisions

To run the test-suite, please proceed as follows (scratch):

pyvenv /tmp/venv
. /tmp/venv/bin/activate
pip download --no-deps https://github.com/pyinstaller/pyinstaller/archive/develop.zip
unzip develop.zip
cd pyinstaller-develop/
pip install -r tests/requirements-tools.txt
py.test tests/unit tests/functional

This only runs the tests for the core functionality and some packages from the Python standard library.

To get better coverage, including many of the available hooks, you need to download the Python packages to be tested. For this please run

pip install -U -r tests/requirements-libraries.txt
py.test tests/unit tests/functional

To learn how we run the test-suite in the continuous integration tests please have a look at .travis.yml (for GNU/Linux and OS X) and appveyor.yml (for Windows).

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.