mocktail 0.1.0
mocktail: ^0.1.0 copied to clipboard
A Dart mocking library which simplifies mocking with null safety support and no manual mocks or code generation.
0.1.0 #
- feat: add
Mock.throwOnMissingStub() - fix: make
Mockinstances immutable - chore: convert to
test: ^1.16.0
0.0.2-dev.6 #
- fix: typo in matcher registration (
setUpAll) - chore: upgrade to
test_api: ^0.3.0
0.0.2-dev.5 #
- fix:
verifyshould use arg matcher from invocation if a matcher wasn't provided
0.0.2-dev.4 #
- BREAKING fix:
verifyInOrderhandles multiple method invocation verifications - test: 100% coverage
- docs: additional inline API documentation updates
0.0.2-dev.3 #
- BREAKING fix:
verifyInOrderfunction signature - docs: update inline API documentation
- test: add nnbd compat tests
0.0.2-dev.2 #
- chore: documentation updates
0.0.2-dev.1 #
- BREAKING refactor: removed the
ofparameter of matchers in exchange for aregisterFallbackValue
0.0.2-dev.0 #
- BREAKING refactor: revamp
mocktailAPI to be typesafe instead of relying onSymbol
0.0.1-dev.12 #
- fix: any matcher with no value
0.0.1-dev.11 #
- chore: bump dependencies
matcher: ^0.12.10test: ^1.16.0
0.0.1-dev.10 #
- feat:
thenReturnargument is optional forVoidCallbackreturnswhen(cat).calls(#makeSound).thenReturn()
- feat: add support for
capturedwithcaptureAnyandcaptureAnyThatmatchers - fix: verify fixes for default arguments (named and positional)
0.0.1-dev.9 #
- fix: call verification count per specific real invocation
0.0.1-dev.8 #
- fix: throw
NoSuchMethodErrorwhen arguments match but memberName does not
0.0.1-dev.7 #
- BREAKING refactor: rename
verify(mock).calls(#member)toverify(mock).called(#member) - feat: add
anyargument matcher support toverifyandcalls - feat: add
anyThatargument matcher support toverifyandcalls - feat: support
verify(mock).called(#member).once() - feat: support
verify(mock).called(#member).never() - feat: improve error messages to include invocation arguments
0.0.1-dev.6 #
- BREAKING refactor: use
Symbolrather thanString - fix: strict argument matching on verification when arguments are provided
0.0.1-dev.5 #
- fix: override
toStringonMocktailFailureto improve visibility of failure messages
0.0.1-dev.4 #
- feat: add
Matchersupport to verify times API - docs: minor usage documentation updates in README
0.0.1-dev.3 #
- BREAKING refactor: rename
positionalArgstopositionalArguments - BREAKING refactor: rename
namedArgstonamedArguments - fix:
thenAnswercallback contains correctInvocation - docs: minor documentation updates
0.0.1-dev.2 #
- docs: minor updates to README
- docs: minor updates to example
0.0.1-dev.1 #
- feat: initial release 🎉