mocktail 0.0.1-dev.8 copy "mocktail: ^0.0.1-dev.8" to clipboard
mocktail: ^0.0.1-dev.8 copied to clipboard

outdated

A Dart mocking library which simplifies mocking with null safety support and no manual mocks or code generation.

0.0.1-dev.8 #

  • fix: throw NoSuchMethodError when arguments match but memberName does not

0.0.1-dev.7 #

  • BREAKING refactor: rename verify(mock).calls(#member) to verify(mock).called(#member)
  • feat: add any argument matcher support to verify and calls
  • feat: add anyThat argument matcher support to verify and calls
  • 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 Symbol rather than String
  • fix: strict argument matching on verification when arguments are provided

0.0.1-dev.5 #

  • fix: override toString on MocktailFailure to improve visibility of failure messages

0.0.1-dev.4 #

  • feat: add Matcher support to verify times API
  • docs: minor usage documentation updates in README

0.0.1-dev.3 #

  • BREAKING refactor: rename positionalArgs to positionalArguments
  • BREAKING refactor: rename namedArgs to namedArguments
  • fix: thenAnswer callback contains correct Invocation
  • 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 🎉
1091
likes
0
pub points
98%
popularity

Publisher

verified publisherfelangel.dev

A Dart mocking library which simplifies mocking with null safety support and no manual mocks or code generation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

matcher

More

Packages that depend on mocktail