bloc_test 9.1.7 bloc_test: ^9.1.7 copied to clipboard
A testing library which makes it easy to test blocs. Built to be used with the bloc state management package.
9.1.7 #
- chore: update copyright year
- chore: update sponsors
9.1.2 #
- docs: upgrade to Dart 3
- refactor: standardize analysis_options
9.1.1 #
9.0.3 #
9.0.2 #
9.0.1 #
- chore: upgrade to
bloc v8.0.1
9.0.0 #
- BREAKING: feat: upgrade to
bloc v8.0.0
- feat:
MockBloc
no longer implicitly requiresregisterFallbackValue
for events and states
9.0.0-dev.5 #
- BREAKING: feat: upgrade to
bloc v8.0.0-dev.5
9.0.0-dev.4 #
- BREAKING: feat: upgrade to
bloc v8.0.0-dev.4
9.0.0-dev.3 #
- BREAKING: feat: upgrade to
bloc v8.0.0-dev.3
9.0.0-dev.2 #
- BREAKING: feat: upgrade to
mocktail v0.2.0
9.0.0-dev.1 #
- BREAKING: feat: upgrade to
bloc v8.0.0-dev.2
- feat:
MockBloc
no longer implicitly requiresregisterFallbackValue
for events and states
8.4.0 #
- feat: upgrade to
mocktail ^0.2.0
8.3.0 #
- feat: accept optional tags in
blocTest
tags
is 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
setUp
andtearDown
toblocTest
8.0.2 #
- fix: revert
package:mocktail
export to reduce conflicts withpackage:mockito
8.0.1 #
- fix: allow
blocTest
to 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:
seed
returns aFunction
to support dynamic seed values - BREAKING: refactor: remove
emitsExactly
- BREAKING: feat: introduce
MockCubit
- BREAKING: refactor:
MockBloc
uses package:mocktail - BREAKING: refactor:
expect
returns aFunction
withMatcher
support - BREAKING: refactor:
errors
returns aFunction
withMatcher
support - BREAKING: refactor:
whenListen
does not stubskip
- feat:
MockBloc
andMockCubit
automatically stub core API - feat: add optional
initialState
towhenListen
- 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:test
instead ofpackage:test_api
8.0.0-nullsafety.4 #
- BREAKING: feat:
seed
returns aFunction
to 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_api
instead ofpackage:test
for 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:
MockBloc
uses package:mocktail - BREAKING: feat: introduce
MockCubit
which uses package:mocktail - BREAKING: refactor:
expect
returns aFunction
withMatcher
support - BREAKING: refactor:
errors
returns aFunction
withMatcher
support - BREAKING: refactor:
whenListen
does not stubskip
- feat: introduce
MockCubit
- feat:
MockBloc
andMockCubit
automatically stub core API - feat: add optional
initialState
towhenListen
7.1.0 #
- feat: add
seed
property 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:
blocTest
provides warning to implement deep equality when shallow equality is true
7.0.3 #
- restrict
mockito
to<4.1.2
to prevent breaking changes due to NNBD
7.0.2 #
7.0.1 #
- chore: deprecate
emitsExactly
in favor ofblocTest
- fix: capture uncaught exceptions in
Cubit
7.0.0 #
- BREAKING: upgrade to
bloc ^6.0.0
- BREAKING:
MockBloc
only requiresState
type - BREAKING:
whenListen
only requiresState
type - BREAKING:
blocTest
only requiresState
type - BREAKING:
blocTest
skip
defaults to0
- BREAKING:
blocTest
makebuild
synchronous - fix:
blocTest
improvewait
behavior when debouncing, etc... - feat:
blocTest
do not requireasync
onact
andverify
- feat: remove external dependency on package:cubit_test
- feat:
MockBloc
is compatible withcubit
- feat:
whenListen
is compatible withcubit
- feat:
blocTest
is compatible withcubit
7.0.0-dev.2 #
- BREAKING:
blocTest
makebuild
synchronous - fix:
blocTest
improvewait
behavior when debouncing, etc... - feat:
blocTest
do not requireasync
onact
andverify
7.0.0-dev.1 #
- BREAKING: upgrade to
bloc ^6.0.0-dev.1
- BREAKING:
MockBloc
only requiresState
type - BREAKING:
whenListen
only requiresState
type - BREAKING:
blocTest
only requiresState
type - BREAKING:
blocTest
skip
defaults to0
- feat: remove external dependency on package:cubit_test
- feat:
MockBloc
is compatible withcubit
- feat:
whenListen
is compatible withcubit
- feat:
blocTest
is 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
errors
toblocTest
to enable expecting unhandled exceptions within blocs. - Update
whenListen
to 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
MockBloc
tobloc_test
in order to simplify bloc mocks (addresses #636) - Documentation and example updates
2.0.0 #
- Updated to
bloc: ^2.0.0
and 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
whenListen
to enable mocking aBloc
stateStream
.