kiri_check 1.2.0
kiri_check: ^1.2.0 copied to clipboard
A testing library for property-based testing, enabling custom test data generation, testing stateful systems, and integrating seamlessly with package:test.
1.2.0 #
- [CHANGE] Replace the PRNG with new implemented PRNG which enables to reproduce random values using internal state
- [CHANGE] Remove the dependency on package:mt19937
- [CHANGE] Downgrade the dependencies for Flutter dependencies (#8)
- [CHANGE] Support asynchronous for stateless testing
- [CHANGE] Support asynchronous for stateful testing
- [CHANGE] Enable random value generation using arbitraries outside of tests (#18)
- [CHANGE] Add
build
arbitrary that accepts callable objects (#20) - [CHANGE] Remove transformer argument from
combine
arbitraries (#22) - [UPDATE] Show the exception and stack trace of falsifying examples
API #
- [CHANGE] Add
setUpForAll
andtearDownForAll
global functions - [CHANGE] Add
setUpAll
andtearDownAll
parameters toforAll
- [CHANGE] Add
Arbitrary.example
to generate an example value outside of tests - [FIX] Fix the function passed as the
setUp
parameter toforAll
not being called before each test execution withinforAll
. Previously, the function was only called once. - [FIX] Fix the function passed as the
tearDown
parameter toforAll
not being called before each test execution withinforAll
. Previously, the function was only called once.
1.1.0 #
- [ADD] Support Web platform
- [ADD] Support stateful testing
- [UPDATE]
integer
arbitrary generates integers in the safe integer range of -2^53 to 2^53-1 on web by default.
1.0.0 #
- Initial version.