mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-22 13:42:12 -03:00
- Add Hypothesis property-based tests (19 tests) - Add Syrupy snapshot tests (7 tests) - Add pytest-benchmark performance tests (11 tests) - Fix Hypothesis plugin compatibility by creating MockModule class - Update pytest.ini to exclude .hypothesis directory - Add .hypothesis/ to .gitignore - Update requirements-dev.txt with testing dependencies - Mark Phase 4 complete in backend-testing-improvement-plan.md All 947 tests passing.
16 lines
569 B
INI
16 lines
569 B
INI
[pytest]
|
|
addopts = -v --import-mode=importlib
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
# Asyncio configuration
|
|
asyncio_mode = auto
|
|
asyncio_default_fixture_loop_scope = function
|
|
# Register markers
|
|
markers =
|
|
asyncio: execute test within asyncio event loop
|
|
no_settings_dir_isolation: allow tests to use real settings paths
|
|
integration: integration tests requiring external resources
|
|
# Skip problematic directories to avoid import conflicts
|
|
norecursedirs = .git .tox dist build *.egg __pycache__ py .hypothesis |