We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d306fc9 commit 597b5c4Copy full SHA for 597b5c4
changelog/1556.feature.rst
@@ -0,0 +1,17 @@
1
+pytest now supports ``pyproject.toml`` files for configuration.
2
+
3
+The configuration options is similar to the one available in other formats, but must be defined
4
+in a ``[tool.pytest.ini_options]`` table to be picked up by pytest:
5
6
+.. code-block:: toml
7
8
+ # pyproject.toml
9
+ [tool.pytest.ini_options]
10
+ minversion = "6.0"
11
+ addopts = "-ra -q"
12
+ testpaths = [
13
+ "tests",
14
+ "integration",
15
+ ]
16
17
+More information can be found `in the docs <https://docs.pytest.org/en/stable/customize.html#configuration-file-formats>`__.
0 commit comments