This website requires JavaScript.
Explore
Redmine
Gerrit
Lists
Help
Sign In
osmocom
/
wireshark
Watch
14
Star
0
Fork
You've already forked wireshark
1
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
40ec1adfb0
wireshark
/
pytest.ini
6 lines
101 B
INI
Raw
Normal View
History
Unescape
Escape
test: allow running pytest without specifying the tests directory This allows `pytest` to be executed from the top-level source or build directory (or any other directory below). Change-Id: Ib7af2ea2aaf01319d6839d2dc67228fbb5a7bc34 Reviewed-on: https://code.wireshark.org/review/31370 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-03 22:43:56 +00:00
[pytest]
pytest.ini: declare minimum version requirement pytest 3.0.0 (2016-08-18) or newer is required due to the use of the yield keyword in fixtures and the use of getfixturevalue. Do not bother supporting older versions, install newer versions via pip instead. Change-Id: I35ae787e2abcc706c19251d29a7d5b8513079c15 Reviewed-on: https://code.wireshark.org/review/31373 Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-04 19:06:45 +00:00
minversion
=
3.0
test: allow running pytest without specifying the tests directory This allows `pytest` to be executed from the top-level source or build directory (or any other directory below). Change-Id: Ib7af2ea2aaf01319d6839d2dc67228fbb5a7bc34 Reviewed-on: https://code.wireshark.org/review/31370 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-03 22:43:56 +00:00
testpaths
=
test
python_files
=
suite_*.py group_*.py
test: enable parallelism by default for pytest Consistent with tools like "ninja", enable parallelism by default. It can be disabled again with `pytest -n0`. This makes pytest-xdist a dependency when pytest is used as test runner. This does not affect the unittest-based test runnet (test/test.py). Change-Id: I4dc905f097c57a869aa39487b15361502b431616 Reviewed-on: https://code.wireshark.org/review/31371 Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-04 18:47:53 +00:00
addopts
=
-ra -nauto
Reference in a new issue
Copy permalink