Test suite modernization: pytest wrapper and runner fixes
- Add LD_LIBRARY_PATH auto-configuration in run_tests.py - Add --timeout and --quiet command-line flags - Create pytest wrapper (conftest.py, test_mcrogueface.py) for IDE integration - Configure pytest.ini to avoid importing mcrfpy modules - Document known issues: 120/179 passing, 40 timeouts, 19 failures 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
65b5ecc5c7
commit
4579be2791
5 changed files with 413 additions and 11 deletions
14
tests/pytest.ini
Normal file
14
tests/pytest.ini
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[pytest]
|
||||
# McRogueFace test scripts run via subprocess, not as Python modules
|
||||
# They contain `import mcrfpy` which is only available inside McRogueFace
|
||||
|
||||
# Don't try to import test scripts from these directories
|
||||
norecursedirs = unit integration regression benchmarks demo geometry_demo notes vllm_demo
|
||||
|
||||
# Run test_*.py files in tests/ root that are pytest-native wrappers
|
||||
python_files = test_*.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
|
||||
# Custom option for timeout
|
||||
addopts = -v
|
||||
Loading…
Add table
Add a link
Reference in a new issue