-
Notifications
You must be signed in to change notification settings - Fork 1
/
pytest.ini
29 lines (24 loc) · 1.16 KB
/
pytest.ini
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.ini
#=========================================================================
# Configuration file for py.test.
[pytest]
#-------------------------------------------------------------------------
# configure test collection
#-------------------------------------------------------------------------
# We explicitly do not set a pattern for collecting python classes
# yet. This avoids collecting TestHarness which we use in many of our
# PyMTL unit tests, but eventually we will need to decide on a
# replacement.
python_files = *_test.py
python_classes = *_Tests
python_functions = test test_*
#-------------------------------------------------------------------------
# default commandline arguments
#-------------------------------------------------------------------------
# By default do not show any traceback. This means by deafult py.test
# gives an overview of the results but not any details. Users can use
# --tb=long to get more information on a failing test. We also display
# error/warnings at the end; otherwise syntax errors won't really show
# up.
addopts = --tb=no -r Ew