-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpytest.ini
More file actions
29 lines (25 loc) · 979 Bytes
/
pytest.ini
File metadata and controls
29 lines (25 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Pytest Configuration for Telar
#
# This file configures pytest for running the Telar test suite. Tests are
# organized into unit tests (fast, isolated), integration tests (may touch
# the file system), and E2E tests (require live Jekyll server).
#
# Run all tests with `pytest` or with coverage using `pytest --cov=scripts`.
# For visual regression: `pytest tests/e2e/test_visual_regression.py`
# To update baselines: `pytest tests/e2e/test_visual_regression.py --update-snapshots`
#
# Version: v0.8.0-beta
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Coverage settings
addopts = -v --tb=short
# Markers for test categorization
markers =
unit: Unit tests (fast, no external dependencies)
integration: Integration tests (may require file system)
e2e: End-to-end tests (require live Jekyll server)
visual: Visual regression tests (screenshot comparison)
slow: Slow tests (skip with -m "not slow")