mockito 2.0.2  mockito: ^2.0.2 copied to clipboard
mockito: ^2.0.2 copied to clipboard
A mock framework inspired by Mockito.
2.0.2 #
- Start using the new InvocationMatcherinstead of the old matcher.
- Change throwOnMissingStubback to invokingObject.noSuchMethod:- It was never documented what the thrown type should be expected as
- You can now just rely on throwsNoSuchMethodErrorif you want to catch it
 
2.0.1 #
- Add a new throwOnMissingStubmethod to the API.
2.0.0 #
- Removed mockito_no_mirrors.dart
2.0.0-dev #
- Remove export of spyand anydart:mirrorsbased API frommockito.dart. Users may import aspackage:mockito/mirrors.dartgoing forward.
- Deprecated mockito_no_mirrors.dart; replace withmockito.dart.
- Require Dart SDK >=1.21.0 <2.0.0to use generic methods.
1.0.1 #
- Add a new thenThrowmethod to the API.
- Document thenAnswerin the README.
- Add more dartdoc.
1.0.0 #
- Add a new typedAPI that is compatible with Dart Dev Compiler; documented in README.md.
0.11.1 #
- Move the reflection-based spycode into a private source file. Nowpackage:mockito/mockito.dartincludes this reflection-based API, and a newpackage:mockito/mockito_no_mirrors.dartdoesn'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