Running tests require the following dependencies to be installed:
- python 2.7 or newer
- python developer libraries (
python-dev
for Ubuntu orpython-devel
for CentOS 7) - tox 3.7 or newer
- virtualenv
- requirements-test.txt
To run style checks and unit tests for both python 2 and python 3:
make test
The following commands run flake8 style checks on the /benchmarks
directory.
To run style checks using python 2:
make lint2
To run style checks using python 3:
make lint3
To run style checks using both python 2 and python 3:
make lint
Unit tests can be run using the commands below.
To run unit tests using python 2:
make unit_test2
To run unit tests using python 3:
make unit_test3
To run unit tests using python 2 and python 3:
make unit_test