test_ok2/changelog
Bruno Oliveira 011f88f7e7 Deprecate calling fixture functions directly
This will now issue a RemovedInPytest4Warning when the user calls
a fixture function directly, instead of requesting it from test
functions as is expected

Fix #3661
2018-07-26 19:58:42 -03:00
..
742.bugfix.rst Use -mpytest when invoking pytest in pytester 2018-07-07 17:18:44 -07:00
980.bugfix.rst Fix truncated locals in verbose mode 2018-07-15 11:30:26 -03:00
2220.bugfix.rst Fix end-of-line in 2220.bugfix.rst 2018-07-07 11:13:48 -03:00
2283.feature Add minimal docs for package-scoped fixtures (experimental) 2018-07-05 21:56:31 -03:00
2319.trivial.rst Remove obsolete __future__ imports 2018-07-08 08:37:02 -07:00
3402.trivial.rst Fix more linting issues 2018-07-14 16:44:47 +01:00
3519.trivial.rst Change 3519 to trivial 2018-06-21 20:11:22 -03:00
3576.feature.rst Small tweaks to the changelog entries 2018-07-07 10:43:37 -03:00
3579.feature.rst Add `messages` property to `caplog` fixture. 2018-06-14 12:22:33 -07:00
3592.doc.rst Improve CHANGELOG entry 2018-07-11 21:07:21 -03:00
3610.feature.rst Small tweaks to the changelog entries 2018-07-07 10:43:37 -03:00
3623.feature.rst Small tweaks to the changelog entries 2018-07-07 10:43:37 -03:00
3635.trivial.rst Replace broken type annotations with type comments 2018-07-15 16:58:39 +03:00
3661.removal.rst Deprecate calling fixture functions directly 2018-07-26 19:58:42 -03:00
README.rst Update README for CHANGELOG about using multiple paragraphs 2018-07-07 11:07:13 -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.
* ``bugfix``: fixes a reported bug.
* ``doc``: documentation improvement, like rewording an entire session or adding missing docs.
* ``removal``: feature deprecation or 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.