From 9c8e88414c9706282d137ccb721553c8edbb96c2 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 2 Jun 2020 16:08:26 -0300 Subject: [PATCH] Add CHANGELOG --- changelog/1556.feature.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 changelog/1556.feature.rst diff --git a/changelog/1556.feature.rst b/changelog/1556.feature.rst new file mode 100644 index 00000000000..402e772e674 --- /dev/null +++ b/changelog/1556.feature.rst @@ -0,0 +1,17 @@ +pytest now supports ``pyproject.toml`` files for configuration. + +The configuration options is similar to the one available in other formats, but must be defined +in a ``[tool.pytest.ini_options]`` table to be picked up by pytest: + +.. code-block:: toml + + # pyproject.toml + [tool.pytest.ini_options] + minversion = "6.0" + addopts = "-ra -q" + testpaths = [ + "tests", + "integration", + ] + +More information can be found `in the docs `__.