Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
## 2.1.0

* Add documentation for `when`, `verify`, `verifyNever`, `resetMockitoState`.
* Expose `throwOnMissingStub`, `resetMockitoState`.
* Improve failure message for `verify`.
* SDK version ceiling bumped to `<2.0.0-dev.infinity` to support Dart 2.0
development testing.
* Add a Mockito + test package example at `test/example/iss`.

## 2.0.2

* Start using the new `InvocationMatcher` instead of the old matcher.
* Change `throwOnMissingStub` back to invoking `Object.noSuchMethod`:
* It was never documented what the thrown type should be expected as
* You can now just rely on `throwsNoSuchMethodError` if you want to catch it
* It was never documented what the thrown type should be expected as.
* You can now just rely on `throwsNoSuchMethodError` if you want to catch it.

## 2.0.1

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: mockito
version: 2.0.2
version: 2.1.0
authors:
- Dmitriy Fibulwinter <fibulwinter@gmail.com>
- Dart Team <misc@dartlang.org>
description: A mock framework inspired by Mockito.
homepage: https://github.com/dart-lang/mockito
environment:
sdk: '>=1.21.0 <2.0.0'
sdk: '>=1.21.0 <2.0.0-dev.infinity'
dependencies:
matcher: '^0.12.0'
meta: '^1.0.4'
Expand Down