Framework Mode - Matching exception messages
Folder Structure
tests/ ├── test_example.py ├── test_utils.py ├── conftest.py utilities/ ├── helpers.py configs/ ├── config.yaml reports/ ├── latest_report.html
tests/ ├── test_example.py ├── test_utils.py ├── conftest.py utilities/ ├── helpers.py configs/ ├── config.yaml reports/ ├── latest_report.html
test_example.py where tests assert exception messages using pytest.raises().configs/config.yaml or conftest.py fixtures.conftest.py to define fixtures for test setup and teardown.configs/config.yaml.--tb=short for concise tracebacks.pytest-html to generate readable HTML reports showing exception messages.pytest.raises() context manager to catch exceptions and assert their messages.Where in this folder structure would you add a helper function to validate exception messages with regex?