999 B
999 B
Test Run Instructions
From the repository root, run:
pytest tests/workers
If you only want one worker's core tests:
pytest tests/workers/test_onnx_core.py
pytest tests/workers/test_bie_core.py
pytest tests/workers/test_nef_core.py
Input Files
These tests run the real KTC flow. You must provide input files.
Place them under tests/fixtures as follows:
tests/fixtures/
onnx/
input.onnx # Required for ONNX and BIE tests
bie_images/
image1.jpg # Required for BIE test (at least 1 image)
bie/
input.bie # Required for NEF test
outputs/
(test outputs will be written here)
Notes:
tests/fixtures/onnx/input.onnxshould be a valid ONNX model.tests/fixtures/bie_images/should contain at least one image file.tests/fixtures/bie/input.bieshould be a valid BIE file.- Outputs are written to
tests/fixtures/outputs/and are required for the tests.