FiftyOne currently uses both unittest and pytest to implement its tests.
Tests do exist, but their coverage generally needs improvement...
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 a test, simply run python <name-of-file>.py
Copyright 2017-2020, Voxel51, Inc.
voxel51.com