Skip to content

Add note about --strict and --strict-markers to references #7240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Fabio Zadrozny
Felix Nieuwenhuizen
Feng Ma
Florian Bruhin
Florian Dahlitz
Floris Bruynooghe
Gabriel Reis
Gene Wood
Expand Down
1 change: 1 addition & 0 deletions changelog/7233.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a note about ``--strict`` and ``--strict-markers`` and the preference for the latter one.
5 changes: 5 additions & 0 deletions doc/en/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1447,6 +1447,11 @@ passed multiple times. The expected format is ``name=value``. For example::
slow
serial

.. note::
The use of ``--strict-markers`` is highly preferred. ``--strict`` was kept for
backward compatibility only and may be confusing for others as it only applies to
markers and not to other options.

.. confval:: minversion

Specifies a minimal pytest version required for running tests.
Expand Down