gherkin_unit_test 0.0.3
gherkin_unit_test: ^0.0.3 copied to clipboard
A gherkin unit test framework based on flutter's official flutter_test package.
0.0.3 #
- ⚠️ Breaking: Replaces the
resultparameter (nowbox) of theUnitStepCallbackwith an instance ofUnitBox. This will allow you to save multiple persistent values throughout a series of steps inside theboxinstead of passing around a maximum of one single value as aresultthrough multiple steps. - ⚠️ Breaking: Removed the recently introduces extension methods for cast a result since
resulthas now been replaces with the newUnitBoxwhich has this functionality built in.
0.0.2+1 #
- Added
asTypeandasNullableTypeextension methods for easier usage of anUnitStep's result.
0.0.2 #
- ⚠️ Breaking: Added generic argument to scenario for easier example usage.
0.0.1+7 #
- Remove
requiredfrom theUnitExample.valuesfield.
0.0.1+6 #
- Updated info icon.
0.0.1+5 #
- Update required descriptions to nullable for more flexibility.
0.0.1+4 #
- 🐛️ Bugfix: Fixed logging where logging would only appear if examples were not empty.
0.0.1+1 #
- ✨ New: Added steps
WhenThen,GivenWhenThenandShould. - Added example project with 100% test coverage tests created using this package.