ComfyUI/tests
doctorpangloss d9ba795385 Fixes for tests and completing merge
- huggingface cache is now better used on platforms that support
   symlinking and the files you are requesting already exist in the
   cache
 - absolute imports were changed to relative in the correct places
 - StringEnumRequestParameter has a special case in validation
 - fix model_management whitespace issue
 - fix comfy.ops references
2024-08-01 18:28:51 -07:00
..
asyncio
distributed
downloader Fixes for tests and completing merge 2024-08-01 18:28:51 -07:00
inference Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-07-30 11:11:45 -07:00
library
unit Fixes for tests and completing merge 2024-08-01 18:28:51 -07:00
__init__.py
conftest.py Fixes for tests and completing merge 2024-08-01 18:28:51 -07:00
README.md

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