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
committerTodd Gamblin <tgamblin@llnl.gov>2020-03-20 11:38:28 -0700
commit733f9f8cfa5814cd1df6c34cf7e70f460ce75ff4 (patch)
treed81d84eb8cdbd121d7a13fd10469c360ba6fd0c3 /pytest.ini
parentfa0a5e44aa7616bdef4cc825436bfb207c03bf56 (diff)
downloadspack-733f9f8cfa5814cd1df6c34cf7e70f460ce75ff4.tar.gz
spack-733f9f8cfa5814cd1df6c34cf7e70f460ce75ff4.tar.bz2
spack-733f9f8cfa5814cd1df6c34cf7e70f460ce75ff4.tar.xz
spack-733f9f8cfa5814cd1df6c34cf7e70f460ce75ff4.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