ComfyUI/tests
doctorpangloss 95d47276e9 Improve tests and distributed error notifications
- Tests now perform faster
 - Tests will run on supported GPU platforms
 - Configuration has known issues related to setting up a working
   directory for an embedded client
 - Introduce a Skeletonize node that solves many problems with Canny
 - Improve behavior of exception reporting
2024-07-04 10:16:02 -07:00
..
asyncio Improve tracing to propagate to backend workers correctly when using the API. Fix distributed tests. 2024-05-07 13:44:34 -07:00
distributed Improve tests and distributed error notifications 2024-07-04 10:16:02 -07:00
inference Improve tests and distributed error notifications 2024-07-04 10:16:02 -07:00
unit Improve tests and distributed error notifications 2024-07-04 10:16:02 -07:00
__init__.py Ci quality workflows (#1423) 2023-09-18 23:18:06 -04:00
conftest.py Improve tests and distributed error notifications 2024-07-04 10:16:02 -07:00
README.md PyInstaller 2024-01-29 17:02:45 -08:00

Automated Testing

Running tests locally

Additional requirements for running tests:

pip install .[dev]

Run inference tests:

pytest tests/inference

Quality regression test

Compares images in 2 directories to ensure they are the same

  1. Run an inference test to save a directory of "ground truth" images
    pytest tests/inference --output_dir tests/inference/baseline
  1. Make code edits

  2. Run inference and quality comparison tests

pytest