Files
VraethrDalkr fe72a40937 chore: un-gitignore test suite and pytest configuration
- Add tests/ directory to version control (8 test modules, conftest.py)
- Add pytest.ini configuration for shared test environment
- Keep generated artifacts (.pytest_cache, .coverage, htmlcov) ignored
- Tests are critical infrastructure referenced in pre-commit validation
2025-10-14 18:08:09 -04:00

26 lines
1.0 KiB
INI

[tool:pytest]
testpaths = .
python_files = test_*.py
python_functions = test_*
python_classes = Test*
addopts = -v --tb=short --disable-warnings --strict-markers
rootdir = .
pythonpath =
.
..
../../..
markers =
unit: marks tests as unit tests (fast, isolated)
integration: marks tests as integration tests (slower, with dependencies)
slow: marks tests as slow running tests
calculations: marks tests for mathematical calculation methods
strategies: marks tests for switching strategies
config: marks tests for configuration system
validation: marks tests for parameter validation
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore:builtin type.*has no __module__ attribute:DeprecationWarning
ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning
ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning
ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning