diff --git a/pytest.ini b/pytest.ini
deleted file mode 100644
index ca6aad829a3e0607292cf69b8b1d4b7f7758993e..0000000000000000000000000000000000000000
--- a/pytest.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[pytest]
-testpaths=unittests
-addopts=-x -vv --cov=caosdb
diff --git a/tox.ini b/tox.ini
index 50c22d5716769ef2ec818f6c8fb94491ea372434..3b3371a9424cf6692a7c3c05f9c911ffdd34b957 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,3 +12,8 @@ commands=py.test --cov=caosdb -vv {posargs}
 
 [flake8]
 max-line-length=100
+
+[pytest]
+testpaths = unittests
+xfail_strict = True
+addopts = -x -vv --cov=caosdb