Skip to content

Commit 597b5c4

Browse files
committed
Add CHANGELOG
1 parent d306fc9 commit 597b5c4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

changelog/1556.feature.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)