Skip to content

Commit 366ed48

Browse files
committed
Change py.test config.
Make warnings errors, xpass fail, and document markers.
1 parent 645ce08 commit 366ed48

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pytest.ini

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
[pytest]
2-
addopts = -rXw -p no:doctest
2+
# Output fails, errors, xpass, and warnings; ignore doctest; make warnings errors
3+
addopts = -rfEXw -p no:doctest --strict
4+
5+
# Make xpass results be considered fail
6+
xfail_strict = true
7+
8+
# Document our markers
9+
markers =
10+
DOM: mark a test as a DOM tree test
11+
ElementTree: mark a test as a ElementTree tree test
12+
cElementTree: mark a test as a cElementTree tree test
13+
lxml: mark a test as a lxml tree test
14+
genshi: mark a test as a genshi tree test
15+
parser: mark a test as a parser test
16+
namespaced: mark a test as a namespaced parser test
17+
treewalker: mark a test as a treewalker test

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy