-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
19 lines (19 loc) · 1.06 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[pytest]
markers =
development: marks tests as development (deselect with '-m "not development"')
production: marks tests as production (deselect with '-m "not production"')
fast: marks tests as fast (run with '-m fast')
slow: marks tests as slow (run with '-m slow')
custom: custom marker example (run with '-m custom')
asyncio: marks tests requiring asyncio (run with pytest-asyncio plugin)
xfail: marks tests that are expected to fail (handled by pytest itself)
xpass: marks tests that unexpectedly pass after being marked xfail (handled by pytest itself)
parameters: marks parameterized tests (handled by pytest itself)
benchmark: marks tests used for benchmarking (handled by pytest-benchmark plugin)
celery: marks tests related to Celery tasks (custom marker, specifics depend on test implementation)
login: dummy login marker for grouping test
signup: dummy signup marker for grouping test
marker1: combined markers
marker2: combined markers
special_test: special test for hooks
timeout: test with timeout