./devel/py-hypothesis, Python library for property based testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.11.6, Package name: py27-hypothesis-3.11.6, Maintainer: pkgsrc-users

Hypothesis is a library for testing your Python code against a much
larger range of examples than you would ever want to write by hand.
It's based on the Haskell library, Quickcheck, and is designed to
integrate seamlessly into your existing Python unit testing work
flow.

Hypothesis is both extremely practical and also advances the state
of the art of unit testing by some way. It's easy to use, stable,
and extremely powerful. If you're not using Hypothesis to test your
project then you're missing out.


Required to run:
[devel/py-setuptools] [databases/py-sqlite3] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 20117a10b4e98d8f3f7f21c4f92406176ec8cb15
RMD160: 363ca4f0bb9b0d365cd87b501755eabd25a0a134
Filesize: 83.108 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-20 09:26:10 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
3.11.6:
This release involves no functionality changes, but is the first to ship wheels \ 
as well as an sdist.

3.11.5:
This release provides a performance improvement to shrinking. For cases where \ 
there is some non-trivial "boundary" value (e.g. the bug happens for \ 
all values greater than some other value), shrinking should now be substantially \ 
faster. Other types of bug will likely see improvements too.

This may also result in some changes to the quality of the final examples - it \ 
may sometimes be better, but is more likely to get slightly worse in some edge \ 
cases. If you see any examples where this happens in practice, please report \ 
them.
   2017-06-19 08:36:29 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 3.11.4 :
This is a bugfix release: Hypothesis now prints explicit examples when running \ 
in verbose mode.
   2017-06-12 12:19:44 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 3.11.3:
Ensure we can sample from an OrderedDict without a warning
   2017-06-10 21:18:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
Version 3.11.2:
Miscellaneous documentation updates and fixes
   2017-05-29 08:52:11 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
3.11.1:
This is a minor ergonomics release. Tracebacks shown by pytest no longer include \ 
Hypothesis internals for test functions decorated with @given.
   2017-05-24 13:28:37 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 3.11.0:

This is a feature release, adding datetime-related strategies to the core strategies.

extra.pytz.timezones allows you to sample pytz timezones from the Olsen \ 
database. Use directly in a recipe for tz-aware datetimes, or compose with \ 
st.none() to allow a mix of aware and naive output.

The new dates, times, datetimes, and timedeltas strategies in \ 
hypothesis.strategies are all constrained by objects of their type. This means \ 
that you can generate dates bounded by a single day (i.e. a single date), or \ 
datetimes constrained to the microsecond.

times and datetimes take an optional timezones= argument, which defaults to \ 
none() for naive times. You can use our extra strategy based on pytz, or roll \ 
your own timezones strategy with dateutil or even the standard library.

The old dates, times, and datetimes strategies in hypothesis.extra.datetimes are \ 
deprecated in favor of the new core strategies, which are more flexible and have \ 
no dependencies.
   2017-05-23 09:57:50 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 3.10.0:
Hypothesis now uses inspect.getfullargspec internally. On Python 2, there are no \ 
visible changes.

On Python 3 @given and @composite now preserve annotations on the decorated \ 
function. Keyword-only arguments are now either handled correctly (e.g. \ 
@composite), or caught in validation instead of silently discarded or raising an \ 
unrelated error later (e.g. @given).
   2017-05-20 07:36:31 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
3.9.0 - 2017-05-19
This is feature release, expanding the capabilities of the decimals strategy.
* The new (optional) places argument allows you to generate decimals with a \ 
certain number of places (e.g. cents, thousandths, satoshis).
* If allow_infinity is None, setting min_bound no longer excludes positive \ 
infinity and setting max_value no longer excludes negative infinity.
* All of NaN, -Nan, sNaN, and -sNaN may now be drawn if allow_nan is True, or if \ 
allow_nan is None and min_value or max_value is None.
* min_value and max_value may be given as decimal strings, e.g. "1.234".