mockito 1.0.1 copy "mockito: ^1.0.1" to clipboard
mockito: ^1.0.1 copied to clipboard

outdatedDart 1 only

A mock framework inspired by Mockito.

1.0.1 #

  • Add a new thenThrow method to the API.
  • Document thenAnswer in the README.
  • Add more dartdoc.

1.0.0 #

  • Add a new typed API that is compatible with Dart Dev Compiler; documented in README.md.

0.11.1 #

  • Move the reflection-based spy code into a private source file. Now package:mockito/mockito.dart includes this reflection-based API, and a new package:mockito/mockito_no_mirrors.dart doesn't require mirrors.

0.11.0 #

  • Equality matcher used by default to simplify matching collections as arguments. Should be non-breaking change in most cases, otherwise consider using argThat(identical(arg)).

0.10.0 #

  • Added support for spy.

0.9.0 #

  • Migrate from the unittest package to use the new test package.
  • Format code using dartformat
1254
likes
20
pub points
99%
popularity

Publisher

verified publisherdart.dev

A mock framework inspired by Mockito.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

test

More

Packages that depend on mockito