You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hypothesis-python/docs/changelog.rst
+29-13Lines changed: 29 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,22 @@ Hypothesis 6.x
18
18
19
19
.. include:: ../RELEASE.rst
20
20
21
+
.. _v6.131.5:
22
+
23
+
--------------------
24
+
6.131.5 - 2025-04-18
25
+
--------------------
26
+
27
+
Fix a rare case where database entries were kept after they were no longer needed when using |Phase.target|.
28
+
29
+
.. _v6.131.4:
30
+
31
+
--------------------
32
+
6.131.4 - 2025-04-18
33
+
--------------------
34
+
35
+
Internal refactoring of the |@settings| object, with no user-visible change.
36
+
21
37
.. _v6.131.3:
22
38
23
39
--------------------
@@ -336,7 +352,7 @@ Fix a type-hinting regression from :ref:`version 6.125.1 <v6.125.1>`, where we w
336
352
6.127.6 - 2025-03-04
337
353
--------------------
338
354
339
-
This patch tweaks the performance of the :ref:`target phase <phases>`, avoiding aborting some test cases when it would be better to finish generating them.
355
+
This patch tweaks the performance of |Phase.target|, avoiding aborting some test cases when it would be better to finish generating them.
340
356
341
357
.. _v6.127.5:
342
358
@@ -559,7 +575,7 @@ Improves one of our shrinking passes for integers which require a constant relat
559
575
6.123.14 - 2025-01-11
560
576
---------------------
561
577
562
-
Avoid realizing symbolic values from :ref:`alternative-backends` when :obj:`~hypothesis.settings.verbosity` is ``verbose`` or higher.
578
+
Avoid realizing symbolic values from :ref:`alternative-backends` when |Verbosity| is ``verbose`` or higher.
563
579
564
580
.. _v6.123.13:
565
581
@@ -800,7 +816,7 @@ This patch fixes a bug since :ref:`v6.99.13` where only interactively-generated
800
816
6.119.3 - 2024-11-17
801
817
--------------------
802
818
803
-
Hypothesis collects coverage information during the ``shrink`` and ``explain`` :ref:`phases<phases>` in order to show a more informative error message. On 3.12+, this uses :mod:`sys.monitoring`. This patch improves the performance of coverage collection on 3.12+ by disabling events we don't need.
819
+
Hypothesis collects coverage information during the |Phase.shrink| and |Phase.explain| phases in order to show a more informative error message. On 3.12+, this uses :mod:`sys.monitoring`. This patch improves the performance of coverage collection on 3.12+ by disabling events we don't need.
804
820
805
821
.. _v6.119.2:
806
822
@@ -893,7 +909,7 @@ This patch adds more type hints to internal Hypothesis code.
893
909
6.118.2 - 2024-11-09
894
910
--------------------
895
911
896
-
This patch migrates the :obj:`~hypothesis.Phase.explain` :ref:`phase<phases>` to our IR layer (:issue:`3921`). This should improve both its speed and precision.
912
+
This patch migrates the |Phase.explain| phase to our IR layer (:issue:`3921`). This should improve both its speed and precision.
897
913
898
914
.. _v6.118.1:
899
915
@@ -1957,7 +1973,7 @@ as well continue running the test!
1957
1973
Because we now finish running a few more examples for affected tests, this
1958
1974
might be a slight slowdown - but correspondingly more likely to find a bug.
1959
1975
1960
-
We've also applied similar tricks to the :ref:`target phase<phases>`, where
1976
+
We've also applied similar tricks to the |Phase.target| phase, where
1961
1977
they are a pure performance improvement for affected tests.
1962
1978
1963
1979
.. _v6.97.1:
@@ -2425,7 +2441,7 @@ one provided by an xfailed example.
2425
2441
6.86.0 - 2023-09-17
2426
2442
-------------------
2427
2443
2428
-
This release enables the :obj:`~hypothesis.Phase.explain` :ref:`phase<phases>`
2444
+
This release enables the |Phase.explain| phase
2429
2445
by default. We hope it helps you to understand *why* your failing tests have
2430
2446
failed!
2431
2447
@@ -2925,9 +2941,9 @@ with versions before 1.20, which were broken by a mistake in Hypothesis 6.72.4
2925
2941
6.73.0 - 2023-04-25
2926
2942
-------------------
2927
2943
2928
-
This release upgrades the :ref:`explain phase<phases>` (:issue:`3411`).
2944
+
This release upgrades the |Phase.explain| phase (:issue:`3411`).
2929
2945
2930
-
* Following the first failure, Hypothesis will (:ref:`usually<phases>`) track which
2946
+
* Following the first failure, Hypothesis will (usually, depending on the enabled |Phase|) track which
2931
2947
lines of code were executed by passing and failing examples, and report where they
2932
2948
diverged - with some heuristics to drop unhelpful reports. This is an existing
2933
2949
feature, now upgraded and newly enabled by default.
@@ -3461,7 +3477,7 @@ This patch updates our autoformatting tools, improving our code style without an
3461
3477
-------------------
3462
3478
3463
3479
This patch fixes some type annotations for Python 3.9 and earlier (:issue:`3397`),
3464
-
and teaches :ref:`explain mode <phases>` about certain locations it should not
3480
+
and teaches the |Phase.explain| phase about certain locations it should not
3465
3481
bother reporting (:issue:`3439`).
3466
3482
3467
3483
.. _v6.54.3:
@@ -4980,7 +4996,7 @@ There is no user-visible change.
4980
4996
6.14.0 - 2021-06-09
4981
4997
-------------------
4982
4998
4983
-
The :ref:`explain phase<phases>` now requires shrinking to be enabled,
4999
+
The |Phase.explain| phase now requires shrinking to be enabled,
4984
5000
and will be automatically skipped for deadline-exceeded errors.
4985
5001
4986
5002
.. _v6.13.14:
@@ -5413,7 +5429,7 @@ meant to be allowed (:issue:`2681`).
5413
5429
6.5.0 - 2021-03-07
5414
5430
------------------
5415
5431
5416
-
This release adds :ref:`the explain phase <phases>`, in which Hypothesis
5432
+
This release adds |Phase.explain|, in which Hypothesis
5417
5433
attempts to explain *why* your test failed by pointing to suspicious lines
5418
5434
of code (i.e. those which were always, and only, run on failing inputs).
5419
5435
We plan to include "generalising" failing examples in this phase in a
@@ -11849,7 +11865,7 @@ documentation, by explaining that example shrinking is tracked at the level
11849
11865
of the underlying bytestream rather than the output value.
11850
11866
11851
11867
The output from ``find()`` in verbose mode has also been
11852
-
adjusted - see :ref:`the example session <verbose-output>` - to avoid
11868
+
adjusted - see the example session for |Verbosity| - to avoid
11853
11869
duplicating lines when the example repr is constant, even if the underlying
11854
11870
representation has been shrunken.
11855
11871
@@ -13601,7 +13617,7 @@ Thanks to Alex Willmer for these.
13601
13617
3.17.0 - 2017-08-07
13602
13618
-------------------
13603
13619
13604
-
This release documents :ref:`the previously undocumented phases feature <phases>`,
13620
+
This release documents the previously undocumented phases feature in |Phase|,
13605
13621
making it part of the public API. It also updates how the example
Copy file name to clipboardExpand all lines: hypothesis-python/docs/reference/integrations.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -97,8 +97,8 @@ is to let you answer questions you didn't think of in advance. In slogan form,
97
97
*Debugging should be a data analysis problem.*
98
98
99
99
By default, Hypothesis only reports the minimal failing example... but sometimes you might
100
-
want to know something about *all* the examples. Printing them to the terminal with
101
-
:ref:`verbose output <verbose-output>` might be nice, but isn't always enough.
100
+
want to know something about *all* the examples. Printing them to the terminal by increasing
101
+
|Verbosity| might be nice, but isn't always enough.
102
102
This feature gives you an analysis-ready dataframe with useful columns and one row
103
103
per test case, with columns from arguments to code coverage to pass/fail status.
104
104
@@ -171,9 +171,9 @@ Hypothesis includes a tiny plugin to improve integration with :pypi:`pytest`, wh
171
171
172
172
- ``pytest --hypothesis-show-statistics`` can be used to :ref:`display test and data generation statistics <statistics>`.
173
173
- ``pytest --hypothesis-profile=<profile name>`` can be used to :ref:`load a settings profile <settings_profiles>`.
174
-
- ``pytest --hypothesis-verbosity=<level name>`` can be used to :ref:`override the current verbosity level <verbose-output>`.
174
+
- ``pytest --hypothesis-verbosity=<level name>`` can be used to override the current |Verbosity| setting.
175
175
- ``pytest --hypothesis-seed=<an int>`` can be used to :ref:`reproduce a failure with a particular seed <reproducing-with-seed>`.
176
-
- ``pytest --hypothesis-explain`` can be used to :ref:`temporarily enable the explain phase <phases>`.
176
+
- ``pytest --hypothesis-explain`` can be used to temporarily enable |Phase.explain|.
177
177
178
178
Finally, all tests that are defined with Hypothesis automatically have ``@pytest.mark.hypothesis`` applied to them. See :ref:`here for information on working with markers <pytest:mark examples>`.
0 commit comments