Skip to content

Releases: gmacon/hypothesis-mongoengine

v2.0.0

20 Nov 00:35
Compare
Choose a tag to compare

The code has been cleaned up to support newer versions of Hypothesis and Mongoengine.

New Features

  • The field_values strategy now accepts a required keyword argument to override the inferred value.

Breaking Changes

  • The field_strat decorator has been renamed to field_strategy.
  • In the documents strategy, explicitly passing None for a field no longer triggers the automatic strategy generation. Either omit the field or directly use the field_values strategy.