NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #319 most downloaded on pub.dev
A testing library which makes it easy to test blocs. Built to be used with the bloc state management package.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 10 months
Nearly every release is documented
notes for 46 of 46 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
69 releases · first in 2019
refactor: blocTest depends on core interfaces instead of BlocBase
blocTest depends on core interfaces instead of BlocBase (#4311)bloc: ^9.0.0funding to pubspec.yaml- chore: update copyright year - chore: update sponsors
One column per quarter.
- chore: update sponsors
fix: blocTest supports async expect
blocTest supports async expect (#3976)chore: add topics to pubspec.yaml
fix: test timeouts due to uncaught exceptions which occur with package:test ^1.22.2
package:test ^1.22.2 (#3854)refactor: standardize analysis_options
remove deprecated invariant_booleans lint rule
- feat: upgrade to bloc: ^8.1.0
bloc: ^8.1.0 (#3502)chore: support for mocktail v0.3.0
docs: update example to follow naming conventions
- chore: upgrade to bloc v8.0.1
bloc v8.0.1BREAKING: feat: upgrade to bloc v8.0.0
bloc v8.0.0MockBloc no longer implicitly requires registerFallbackValue for events and statesBREAKING: feat: upgrade to bloc v8.0.0-dev.5
bloc v8.0.0-dev.5BREAKING: feat: upgrade to bloc v8.0.0-dev.4
bloc v8.0.0-dev.4BREAKING: feat: upgrade to bloc v8.0.0-dev.3
bloc v8.0.0-dev.3BREAKING: feat: upgrade to mocktail v0.2.0
mocktail v0.2.0BREAKING: feat: upgrade to bloc v8.0.0-dev.2
bloc v8.0.0-dev.2MockBloc no longer implicitly requires registerFallbackValue for events and statesfeat: prettier diffing when using blocTest and expect does not match emitted states
blocTest and expect does not match emitted states (#1783)feat: upgrade to mocktail ^0.2.0
mocktail ^0.2.0feat: accept optional tags in blocTest
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.- feat: upgrade to bloc ^7.2.0
bloc ^7.2.0feat: add setUp and tearDown to blocTest
setUp and tearDown to blocTestfix: revert package:mocktail export to reduce conflicts with package:mockito
package:mocktail export to reduce conflicts with package:mockitofix: allow blocTest to capture non-exceptions
blocTest to capture non-exceptionspackage:mocktailBREAKING: feat: opt into null safety
>=2.12.0-0 <3.0.0seed returns a Function to support dynamic seed valuesemitsExactlyMockCubitMockBloc uses package:mocktailexpect returns a Function with Matcher supporterrors returns a Function with Matcher supportwhenListen does not stub skipMockBloc and MockCubit automatically stub core APIinitialState to whenListenbloc ^7.0.0mocktail: ^0.1.0chore: upgrade to bloc ^7.0.0-nullsafety.4
bloc ^7.0.0-nullsafety.4feat: upgrade to mocktail: ^0.1.0
mocktail: ^0.1.0package:test instead of package:test_apiBREAKING: feat: seed returns a Function to support dynamic seed values
seed returns a Function to support dynamic seed valuesfeat: upgrade to mocktail: ">=0.0.2-dev.5 <0.0.2"
mocktail: ">=0.0.2-dev.5 <0.0.2"fix: restrict to mocktail: ">=0.0.1-dev.12 <0.0.1"
mocktail: ">=0.0.1-dev.12 <0.0.1"package:test_api instead of package:test for sound null safetychore: upgrade to bloc ^7.0.0-nullsafety.3
bloc ^7.0.0-nullsafety.3mocktail ^0.0.1-dev.12BREAKING: feat: opt into null safety
>=2.12.0-0 <3.0.0emitsExactlyMockBloc uses package:mocktailMockCubit which uses package:mocktailexpect returns a Function with Matcher supporterrors returns a Function with Matcher supportwhenListen does not stub skipMockCubitMockBloc and MockCubit automatically stub core APIinitialState to whenListenfeat: add seed property to blocTest
seed property to blocTestchore: revert support dart >=2.7.0
dart >=2.7.0- fix: update to mockito ^4.1.2 - chore: update to dart >=2.10.0
mockito ^4.1.2dart >=2.10.0feat: blocTest provides warning to implement deep equality when shallow equality is true
blocTest provides warning to implement deep equality when shallow equality is truerestrict mockito to <4.1.2 to prevent breaking changes due to NNBD
mockito to <4.1.2 to prevent breaking changes due to NNBDfix: blocTest timeouts when verify fails
chore: deprecate emitsExactly in favor of blocTest
emitsExactly in favor of blocTestCubitBREAKING: upgrade to bloc ^6.0.0
bloc ^6.0.0MockBloc only requires State typewhenListen only requires State typeblocTest only requires State typeblocTest skip defaults to 0blocTest make build synchronousblocTest improve wait behavior when debouncing, etc...blocTest do not require async on act and verifyMockBloc is compatible with cubitwhenListen is compatible with cubitblocTest is compatible with cubitBREAKING: blocTest make build synchronous
blocTest make build synchronousblocTest improve wait behavior when debouncing, etc...blocTest do not require async on act and verifyBREAKING: upgrade to bloc ^6.0.0-dev.1
bloc ^6.0.0-dev.1MockBloc only requires State typewhenListen only requires State typeblocTest only requires State typeblocTest skip defaults to 0MockBloc is compatible with cubitwhenListen is compatible with cubitblocTest is compatible with cubitfix: upgrade to cubit_test ^0.1.1
bloc ^5.0.1cubit_test ^0.1.1refactor: internal implementation updates to use cubit_test
bloc ^5.0.0- Update to bloc ^5.0.0-dev.11.
bloc ^5.0.0-dev.11.- Update to bloc ^5.0.0-dev.10.
bloc ^5.0.0-dev.10.- Update to bloc ^5.0.0-dev.7.
bloc ^5.0.0-dev.7.Internal implementation updates to use cubit_test
bloc ^5.0.0-dev.6.Add errors to blocTest to enable expecting unhandled exceptions within blocs.
errors to blocTest to enable expecting unhandled exceptions within blocs.whenListen to also handle stubbing the state property of the bloc.- Update to bloc: ^4.0.0
bloc: ^4.0.0- Update to bloc: ^4.0.0-dev.4
bloc: ^4.0.0-dev.4- Update to bloc: ^4.0.0-dev.3
bloc: ^4.0.0-dev.3- Update to bloc: ^4.0.0-dev.2
bloc: ^4.0.0-dev.2- Update to bloc: ^4.0.0-dev.1
bloc: ^4.0.0-dev.1blocTest and emitsExactly skip initialState by default and expose optional skip
- Add verify to blocTest
verify to blocTest (#781)Enable blocTest to add more than one asynchronous event at a time
blocTest to add more than one asynchronous event at a time (#724)emitsExactly supports optional duration for async operators like debounceTime
- Update to bloc: ^3.0.0-dev.1
bloc: ^3.0.0-dev.1Your coding agent can read these notes before it upgrades. Set up the MCP server →