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
buildarbitrary that accepts callable objects (#20) - [CHANGE] Remove transformer argument from
combinearbitraries (#22) - [UPDATE] Show the exception and stack trace of falsifying examples
API #
- [CHANGE] Add
setUpForAllandtearDownForAllglobal functions - [CHANGE] Add
setUpAllandtearDownAllparameters toforAll - [CHANGE] Add
Arbitrary.exampleto generate an example value outside of tests - [FIX] Fix the function passed as the
setUpparameter toforAllnot being called before each test execution withinforAll. Previously, the function was only called once. - [FIX] Fix the function passed as the
tearDownparameter toforAllnot 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]
integerarbitrary generates integers in the safe integer range of -2^53 to 2^53-1 on web by default.
1.0.0 #
- Initial version.