bloc_test 8.4.0
bloc_test: ^8.4.0 copied to clipboard
A testing library which makes it easy to test blocs. Built to be used with the bloc state management package.
8.4.0 #
- feat: upgrade to
mocktail ^0.2.0
8.3.0 #
- feat: accept optional tags in
blocTesttagsis optional and if it is passed, it declares user-defined tags that are applied to the test. These tags can be used to select or skip the test on the command line, or to do bulk test configuration.
8.2.0 #
- feat: upgrade to
bloc ^7.2.0
8.1.0 #
- feat: add
setUpandtearDowntoblocTest
8.0.2 #
- fix: revert
package:mocktailexport to reduce conflicts withpackage:mockito
8.0.1 #
- fix: allow
blocTestto capture non-exceptions - feat: export
package:mocktail
8.0.0 #
- BREAKING: feat: opt into null safety
- upgrade Dart SDK constraints to
>=2.12.0-0 <3.0.0
- upgrade Dart SDK constraints to
- BREAKING: feat:
seedreturns aFunctionto support dynamic seed values - BREAKING: refactor: remove
emitsExactly - BREAKING: feat: introduce
MockCubit - BREAKING: refactor:
MockBlocuses package:mocktail - BREAKING: refactor:
expectreturns aFunctionwithMatchersupport - BREAKING: refactor:
errorsreturns aFunctionwithMatchersupport - BREAKING: refactor:
whenListendoes not stubskip - feat:
MockBlocandMockCubitautomatically stub core API - feat: add optional
initialStatetowhenListen - feat: upgrade to
bloc ^7.0.0 - feat: upgrade to
mocktail: ^0.1.0
8.0.0-nullsafety.6 #
- chore: upgrade to
bloc ^7.0.0-nullsafety.4
8.0.0-nullsafety.5 #
- feat: upgrade to
mocktail: ^0.1.0 - feat: use
package:testinstead ofpackage:test_api
8.0.0-nullsafety.4 #
- BREAKING: feat:
seedreturns aFunctionto support dynamic seed values
8.0.0-nullsafety.3 #
- feat: upgrade to
mocktail: ">=0.0.2-dev.5 <0.0.2"
8.0.0-nullsafety.2 #
- fix: restrict to
mocktail: ">=0.0.1-dev.12 <0.0.1" - feat: use
package:test_apiinstead ofpackage:testfor sound null safety
8.0.0-nullsafety.1 #
- chore: upgrade to
bloc ^7.0.0-nullsafety.3 - chore: upgrade to
mocktail ^0.0.1-dev.12
8.0.0-nullsafety.0 #
- BREAKING: feat: opt into null safety
- BREAKING: feat: upgrade Dart SDK constraints to
>=2.12.0-0 <3.0.0 - BREAKING: refactor: remove
emitsExactly - BREAKING: refactor:
MockBlocuses package:mocktail - BREAKING: feat: introduce
MockCubitwhich uses package:mocktail - BREAKING: refactor:
expectreturns aFunctionwithMatchersupport - BREAKING: refactor:
errorsreturns aFunctionwithMatchersupport - BREAKING: refactor:
whenListendoes not stubskip - feat: introduce
MockCubit - feat:
MockBlocandMockCubitautomatically stub core API - feat: add optional
initialStatetowhenListen
7.1.0 #
- feat: add
seedproperty toblocTest
7.0.6 #
- chore: revert support
dart >=2.7.0
7.0.5 #
- fix: update to
mockito ^4.1.2 - chore: update to
dart >=2.10.0
7.0.4 #
- feat:
blocTestprovides warning to implement deep equality when shallow equality is true
7.0.3 #
- restrict
mockitoto<4.1.2to prevent breaking changes due to NNBD
7.0.2 #
7.0.1 #
- chore: deprecate
emitsExactlyin favor ofblocTest - fix: capture uncaught exceptions in
Cubit
7.0.0 #
- BREAKING: upgrade to
bloc ^6.0.0 - BREAKING:
MockBloconly requiresStatetype - BREAKING:
whenListenonly requiresStatetype - BREAKING:
blocTestonly requiresStatetype - BREAKING:
blocTestskipdefaults to0 - BREAKING:
blocTestmakebuildsynchronous - fix:
blocTestimprovewaitbehavior when debouncing, etc... - feat:
blocTestdo not requireasynconactandverify - feat: remove external dependency on package:cubit_test
- feat:
MockBlocis compatible withcubit - feat:
whenListenis compatible withcubit - feat:
blocTestis compatible withcubit
7.0.0-dev.2 #
- BREAKING:
blocTestmakebuildsynchronous - fix:
blocTestimprovewaitbehavior when debouncing, etc... - feat:
blocTestdo not requireasynconactandverify
7.0.0-dev.1 #
- BREAKING: upgrade to
bloc ^6.0.0-dev.1 - BREAKING:
MockBloconly requiresStatetype - BREAKING:
whenListenonly requiresStatetype - BREAKING:
blocTestonly requiresStatetype - BREAKING:
blocTestskipdefaults to0 - feat: remove external dependency on package:cubit_test
- feat:
MockBlocis compatible withcubit - feat:
whenListenis compatible withcubit - feat:
blocTestis compatible withcubit
6.0.1 #
- fix: upgrade to
bloc ^5.0.1 - fix: upgrade to
cubit_test ^0.1.1 - docs: minor documentation updates
6.0.0 #
- feat: upgrade to
bloc ^5.0.0 - refactor: internal implementation updates to use cubit_test
6.0.0-dev.4 #
- Update to
bloc ^5.0.0-dev.11.
6.0.0-dev.3 #
- Update to
bloc ^5.0.0-dev.10.
6.0.0-dev.2 #
- Update to
bloc ^5.0.0-dev.7.
6.0.0-dev.1 #
- Update to
bloc ^5.0.0-dev.6. - Internal implementation updates to use cubit_test
5.1.0 #
- Add
errorstoblocTestto enable expecting unhandled exceptions within blocs. - Update
whenListento also handle stubbing the state property of the bloc.
5.0.0 #
- Update to
bloc: ^4.0.0
5.0.0-dev.4 #
- Update to
bloc: ^4.0.0-dev.4
5.0.0-dev.3 #
- Update to
bloc: ^4.0.0-dev.3
5.0.0-dev.2 #
- Update to
bloc: ^4.0.0-dev.2
5.0.0-dev.1 #
- Update to
bloc: ^4.0.0-dev.1
4.0.0 #
3.0.0 #
3.0.0-dev.1 #
- Update to
bloc: ^3.0.0-dev.1
2.2.2 #
- Minor internal improvements (fixed analysis warning in
emitsExactly)
2.2.1 #
- Minor documentation improvements (syntax highlighting in README)
2.1.0 #
- Add
MockBloctobloc_testin order to simplify bloc mocks (addresses #636) - Documentation and example updates
2.0.0 #
- Updated to
bloc: ^2.0.0and Documentation Updates - Adhere to effective dart (#561)
1.0.0 #
Updated to bloc: ^1.0.0 and Documentation Updates
0.2.1 #
whenListen automatically converts Stream to BroadcastStream
0.2.0 #
whenListen handles internal skip from BlocBuilder and BlocListener
0.1.0 #
Initial Version of the library.
- Includes
whenListento enable mocking aBlocstateStream.