test_ok2/changelog
Bruno Oliveira beb457c75e Add new 'improvement' changelog category
This creates a separate section from 'features' for small changes which
don't usually require user intervention, such as:

* Human readable session duration
* New junitxml fields
* Improved colors in terminal
* etc.

The idea is to better match user expectations about new actual
features in the "Features" section of the changelog.
2019-08-10 09:33:51 -03:00
..
4344.bugfix.rst Fix RuntimeError when trying to collect package with "__init__.py" only 2019-08-05 17:52:21 +02:00
5095.trivial.rst Validate xunit2 files against the schema 2019-08-09 10:55:06 -03:00
5180.removal.rst Make 'request' a reserved name for fixtures 2019-06-30 13:31:39 -03:00
5471.improvement.rst Add new 'improvement' changelog category 2019-08-10 09:33:51 -03:00
5477.bugfix.rst Include <testsuites> root tag in generated XML 2019-07-05 11:29:35 -03:00
5516.trivial.rst Cache split nodes results to reduce long tests collection time on large test suites 2019-08-01 20:46:27 -04:00
5523.bugfix.rst Preparing release version 5.0.1 2019-07-04 20:01:16 -04:00
5524.bugfix.rst Fix rmtree to remove directories with read-only files 2019-07-11 18:24:53 -03:00
5537.bugfix.rst Replace importlib_metadata with importlib.metadata on Python 3.8+ 2019-07-04 15:00:10 +02:00
5564.feature.rst Update CHANGELOG 2019-07-06 17:29:35 -03:00
5565.removal.rst Remove support code for unittest 2 2019-07-11 20:11:06 -03:00
5576.feature.rst changelog for new NUMBERS doctest option 2019-07-08 17:16:35 +01:00
5578.bugfix.rst Improve type-checking in OutcomeException 2019-07-09 18:26:57 -03:00
5603.trivial.rst saferepr: Avoid indirect function calls 2019-07-15 17:07:58 +03:00
5606.bugfix.rst copy test and changelog from #5607 by @niccodemus 2019-07-20 20:21:27 +02:00
5615.removal.rst Don't accept bytes message in pytest.{fail,xfail,skip} 2019-07-17 22:39:10 +03:00
5634.bugfix.rst Fix changelog 2019-07-23 19:38:33 +02:00
5650.bugfix.rst Improve output when parsing an ini configuration fails 2019-07-23 15:27:27 +02:00
5664.trivial.rst In test_xfail_handling, only remove __pycache__ if it exists 2019-07-26 02:23:14 +02:00
5684.trivial.rst Use OSError subclasses instead of handling errno 2019-08-02 14:17:46 -03:00
README.rst Add new 'improvement' changelog category 2019-08-10 09:33:51 -03: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 with correct case and punctuation, for example::

    Fix issue with non-ascii messages from the ``warnings`` module.

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 ``--junitxml``, improved colors in terminal, etc).
* ``bugfix``: fixes a reported bug.
* ``doc``: documentation improvement, like rewording an entire session or adding missing docs.
* ``deprecation``: feature deprecation.
* ``removal``: feature removal.
* ``vendor``: changes in packages vendored in pytest.
* ``trivial``: fixing a small typo or internal change that might be noteworthy.

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

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 install
``towncrier`` and then run ``towncrier --draft``
if you want to get a preview of how your change will look in the final release notes.