FiftyOne currently uses both unittest and pytest to implement its tests.
File | Description |
---|---|
unittests/*.py |
Unit tests checking expected behavior of FiftyOne |
benchmarking/*.py |
Tests related to benchmarking the performance of FiftyOne |
import_export/*.py |
Tests for importing/exporting datasets |
isolated/*.py |
Tests that must be run in a separate pytest process to avoid interfering with other tests |
misc/*.py |
Miscellaneous tests that have not been upgraded to official unit tests |
To run all unit tests, execute:
pytest unittests/
To run a specific test, execute:
pytest unittests/<file>.py
Copyright 2017-2020, Voxel51, Inc.
voxel51.com