Package python3-module-hypothesis-cats: Information
Source package: python3-module-hypothesis-cats
Version: 0.1.2-alt1
Build time: Nov 4, 2022, 10:47 PM in the task #309417
Category: Development/Python3
Report package bugLicense: GPL-2.0-or-later
Summary: Allows to classify values generated by a Hypothesis strategy
Description:
Hypothesis extension which allows to classify values generated by a Hypothesis strategy and then to make complex assertions based on the categories that consist up the example data given to the test.
Maintainer: Paul Wolneykien
Last changed
Oct. 31, 2022 Paul Wolneykien 0.1.2-alt1
- Support parent/child relationships between sets of classified values. - Allow to pass a custom equality function to the `nonequal` mapper. - Call `event()` on each expected exception raise. - Also, event 'No exceptions were expected' when that is the case. - Report about exceptions using `note()` when an unexpected exception occurs. - Added `parseDivided` func allowing to use dict descriptors with `values` anywhere a strategy arguments are needed. - Fix: Don't block parsing an inplace category description. - Allow to specify a number of category names for a value in a set of requirements. - Optimization: let `CatChecker` to instantiate faster in `@given_divided`. - Allow to get `CatChecker` from the decorator in an argument. - Allow to query category layout for tags. - Allow to assign and require category tags. - Improved KeyError for missing "values" in a cat desc. - Added `nonequal` flatmap function that filters out values that are equal to values of the base strategy.
Aug. 1, 2022 Paul Wolneykien 0.1.1-alt1
- The new version with some decorators.
July 26, 2022 Paul Wolneykien 0.1.0-alt1
- Initial version.