Skip to content

Going async/await

Compare
Choose a tag to compare
@dubzzz dubzzz released this 01 Apr 00:56
· 5361 commits to main since this release

Main features:

  • async/await properties
  • more arbitraries: frequency, anything, object, json, dictionary
  • array arbitrary accepts min and max (only default and 0 to max before this release)
  • better integration with modern tests frameworks (throw Error not strings)

Commits log:
d2e6d1e Fix e2e tests
6787cd4 Throw Error on failure (not simple string)
9f70e1f Increase number of runs of flaky test
7b842cf Add support for async/await and Promises
89f7787 Extract RunDetails construction outside of Runner
2d86acd Export random and stream to ease framework extension
e93f2bb Add array with minimal and maximal length
3992bab Remove buggy examples
fc63fe3 Add some e2e for objects
11b2ec6 Do not ignore original sources from packages
c0a6842 Assert object shrink has the same type has original
c5a8be3 Fix buggy test on anything.shrink
13a8b1b Assert shrinked value of json
073d26d Add utest on parsable json
cd10a37 Add missing convergence case for anything
ba10b9c Simplify utest 'Should generate an object'
6adf6f2 Add utests for shrink on anything/object
ce5ee30 Add DictionaryArbitrary
e423d51 Add anything, object, json arbitraries
651b7a2 Add a frequency arbitrary