Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 979 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 979 Bytes

PULP-NNX testing

Repository structure

  • app: test application
    • inc: test application headers
    • src: test application sources
    • gen_inc: generated test headers for data and test information
  • tests: passing tests

Usage

We use pytest to run all of our tests defined in test.py.

Parameters that have to be defined:

  • --test-dir (-T): path to the test directory, can be set multiple times

Optional parameters

  • --recursive (-R): recursively search the given test directories for tests

Example: Run all tests in tests

$ pytest test.py --test-dir tests --recursive

For more information you can run

$ pytest test.py --help

Helper scripts

  • testgen.py: collection of helper tools for individual tests

For more information you can run the script with the -h flag.

Application

For information on the testing application and how to build it, take a look in its README.md.