Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Running Tests

Prerequisites

Running tests require the following dependencies to be installed:

Running all tests

To run style checks and unit tests for both python 2 and python 3:

make test

Running only style checks

The following commands run flake8 style checks on the /benchmarks directory.

To run style checks using python 3:

make lint

Running only unit tests

Unit tests can be run using the commands below.

make unit_test3

To run unit tests using python 3:

make unit_test

Running a selection of unit tests

  • Run one complete test directory or file:
    TESTFILES=<test_file_path> tox -e py3-py.test
    
  • Run one test in a file:
    TESTFILES=<test_file_path>::<test_name> tox -e py3-py.test
    
  • Run all tests containing a substring:
    TESTOPTS="-k <substring> --no-cov" tox -e py3-py.test