summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
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