summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2020-03-05 16:54:29 -0800
committerGitHub <noreply@github.com>2020-03-05 16:54:29 -0800
commitb2e7e7edaa93f838d46ca62817b0215d089b048a (patch)
tree048be6778c88a761d67d233b86c7778121b97097 /pytest.ini
parentdd8afca9d8156434a95a1d7ff48bc62cce069558 (diff)
downloadspack-b2e7e7edaa93f838d46ca62817b0215d089b048a.tar.gz
spack-b2e7e7edaa93f838d46ca62817b0215d089b048a.tar.bz2
spack-b2e7e7edaa93f838d46ca62817b0215d089b048a.tar.xz
spack-b2e7e7edaa93f838d46ca62817b0215d089b048a.zip
Recover coverage from subprocesses during unit tests (#15354)
* Recover coverage from subprocesses during unit tests
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000000..baf163ef0b
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,10 @@
+# content of pytest.ini
+[pytest]
+addopts = --durations=20 -ra
+testpaths = lib/spack/spack/test
+python_files = *.py
+markers =
+ db: tests that require creating a DB
+ network: tests that require access to the network
+ maybeslow: tests that may be slow (e.g. access a lot the filesystem, etc.)
+ regression: tests that fix a reported bug