2026-01-28 06:16:04 +00:00
..
2026-01-28 06:16:04 +00:00
2026-01-28 06:16:04 +00:00
2026-01-28 06:16:04 +00:00
2026-01-28 06:16:04 +00:00

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.onnx should be a valid ONNX model.
  • tests/fixtures/bie_images/ should contain at least one image file.
  • tests/fixtures/bie/input.bie should be a valid BIE file.
  • Outputs are written to tests/fixtures/outputs/ and are required for the tests.