pytest2/changelog
Sviatoslav Sydorenko (Святослав Сидоренко) 5c3b9c3a2b Merge pull request #12472 from pbrezina/testresult-markup
(cherry picked from commit 90459a8fd3)
2024-07-01 15:15:26 +00:00
..
.gitignore Merge pull request #12501 from webknjaz/maintenance/changelog-categories 2024-06-21 13:59:55 +02:00
12424.bugfix.rst [8.2.x] unittest: fix assertion errors on unittest reruns (#12438) 2024-06-07 22:39:52 -03:00
12467.improvement.rst add changelog entry 2024-06-20 12:05:17 +02:00
12472.bugfix.rst Merge pull request #12472 from pbrezina/testresult-markup 2024-07-01 15:15:26 +00:00
12493.contrib.rst Merge pull request #12507 from webknjaz/maintenance/hotfixes/note/sphinx-towncrier-draft 2024-06-21 15:11:11 +00:00
12498.contrib.rst Merge pull request #12498 from webknjaz/maintenance/tox-descriptions 2024-06-21 15:05:55 +00:00
12501.contrib.rst Merge pull request #12501 from webknjaz/maintenance/changelog-categories 2024-06-21 13:59:55 +02:00
12522.contrib.rst Merge pull request #12522 from webknjaz/docs/sphinx-issues-ext 2024-06-23 14:55:59 +00:00
12531.contrib.rst Merge pull request #12531 from webknjaz/maintenance/xfail-no-cover 2024-07-01 14:21:47 +00:00
12533.contrib.rst Merge pull request #12533 from webknjaz/docs/drop-extlinks-bpo 2024-06-26 12:39:41 +00:00
README.rst Merge pull request #12501 from webknjaz/maintenance/changelog-categories 2024-06-21 13:59:55 +02:00
_template.rst Update CHANGELOG template to put issue links at the start of entries 2018-07-07 11:02:33 -03:00

README.rst

This directory contains "newsfragments" which are short files that contain a small **ReST**-formatted
text that will be added to the next ``CHANGELOG``.

The ``CHANGELOG`` will be read by **users**, so this description should be aimed to pytest users
instead of describing internal changes which are only relevant to the developers.

Make sure to use full sentences in the **past or present tense** and use punctuation, examples::

    Improved verbose diff output with sequences.

    Terminal summary statistics now use multiple colors.

Each file should be named like ``<ISSUE>.<TYPE>.rst``, where
``<ISSUE>`` is an issue number, and ``<TYPE>`` is one of:

* ``feature``: new user facing features, like new command-line options and new behavior.
* ``improvement``: improvement of existing functionality, usually without requiring user intervention (for example, new fields being written in ``--junit-xml``, improved colors in terminal, etc).
* ``bugfix``: fixes a bug.
* ``doc``: documentation improvement, like rewording an entire session or adding missing docs.
* ``deprecation``: feature deprecation.
* ``breaking``: a change which may break existing suites, such as feature removal or behavior change.
* ``vendor``: changes in packages vendored in pytest.
* ``packaging``: notes for downstreams about unobvious side effects
  and tooling. changes in the test invocation considerations and
  runtime assumptions.
* ``contrib``: stuff that affects the contributor experience. e.g.
  Running tests, building the docs, setting up the development
  environment.
* ``misc``: changes that are hard to assign to any of the above
  categories.

So for example: ``123.feature.rst``, ``456.bugfix.rst``.

.. tip::

   See :file:`pyproject.toml` for all available categories
   (``tool.towncrier.type``).

If your PR fixes an issue, use that number here. If there is no issue,
then after you submit the PR and get the PR number you can add a
changelog using that instead.

If you are not sure what issue type to use, don't hesitate to ask in your PR.

``towncrier`` preserves multiple paragraphs and formatting (code blocks, lists, and so on), but for entries
other than ``features`` it is usually better to stick to a single paragraph to keep it concise.

You can also run ``tox -e docs`` to build the documentation
with the draft changelog (``doc/en/_build/html/changelog.html``) if you want to get a preview of how your change will look in the final release notes.