pub repository
mirror.p-hatan.irmockito
4.1.1A mock framework inspired by Mockito.
Readme
Mock library for Dart inspired by Mockito.
Let's create mocks
import 'package:mockito/mockito.dart';
// Real class
class Cat {
String sound() => "Meow";
bool eatFood(String food, {bool hungry}) => true;
Future<void> chew() async => print("Chewing...");
int walk(List<String> places) => 7;
void sleep() {}
void hunt(String place, String prey) {}
int lives = 9;
}
// Mock class
class MockCat extends Mock implements Cat {}
// Create mock object.
var cat = MockCat();
Let's verify some behaviour!
// Interact with the mock object.
cat.sound();
// Verify the interaction.
verify(cat.sound());
Once created, mock will remember all interactions. Then you can selectively verify whatever interaction you are interested in.
How about some stubbing?
// Unstubbed methods return null.
expect(cat.sound(), nullValue);
// Stub a mock method before interacting.
when(cat.sound()).thenReturn("Purr");
expect(cat.sound(), "Purr");
// You can call it again.
expect(cat.sound(), "Purr");
// Let's change the stub.
when(cat.sound()).thenReturn("Meow");
expect(cat.sound(), "Meow");
// You can stub getters.
when(cat.lives).thenReturn(9);
expect(cat.lives, 9);
// You can stub a method to throw.
when(cat.lives).thenThrow(RangeError('Boo'));
expect(() => cat.lives, throwsRangeError);
// We can calculate a response at call time.
var responses = ["Purr", "Meow"];
when(cat.sound()).thenAnswer(() => responses.removeAt(0));
expect(cat.sound(), "Purr");
expect(cat.sound(), "Meow");
By default, for all methods that return a value, mock returns null.
Stubbing can be overridden: for example common stubbing can go to fixture setup
but the test methods can override it. Please note that overridding stubbing is
a potential code smell that points out too much stubbing. Once stubbed, the
method will always return stubbed value regardless of how many times it is
called. Last stubbing is more important, when you stubbed the same method with
the same arguments many times. In other words: the order of stubbing matters,
but it is meaningful rarely, e.g. when stubbing exactly the same method calls
or sometimes when argument matchers are used, etc.
A quick word on async stubbing
Using thenReturn to return a Future or Stream will throw an
ArgumentError. This is because it can lead to unexpected behaviors. For
example:
- If the method is stubbed in a different zone than the zone that consumes the
Future, unexpected behavior could occur. - If the method is stubbed to return a failed
FutureorStreamand it doesn't get consumed in the same run loop, it might get consumed by the global exception handler instead of an exception handler the consumer applies.
Instead, use thenAnswer to stub methods that return a Future or Stream.
// BAD
when(mock.methodThatReturnsAFuture())
.thenReturn(Future.value('Stub'));
when(mock.methodThatReturnsAStream())
.thenReturn(Stream.fromIterable(['Stub']));
// GOOD
when(mock.methodThatReturnsAFuture())
.thenAnswer((_) => Future.value('Stub'));
when(mock.methodThatReturnsAStream())
.thenAnswer((_) => Stream.fromIterable(['Stub']));
If, for some reason, you desire the behavior of thenReturn, you can return a
pre-defined instance.
// Use the above method unless you're sure you want to create the Future ahead
// of time.
final future = Future.value('Stub');
when(mock.methodThatReturnsAFuture()).thenAnswer((_) => future);
Argument matchers
Mockito provides the concept of the "argument matcher" (using the class ArgMatcher) to capture arguments and to track how named arguments are passed. In most cases, both plain arguments and argument matchers can be passed into mock methods:
// You can use plain arguments themselves
when(cat.eatFood("fish")).thenReturn(true);
// ... including collections
when(cat.walk(["roof","tree"])).thenReturn(2);
// ... or matchers
when(cat.eatFood(argThat(startsWith("dry")))).thenReturn(false);
// ... or mix aguments with matchers
when(cat.eatFood(argThat(startsWith("dry")), hungry: true)).thenReturn(true);
expect(cat.eatFood("fish"), isTrue);
expect(cat.walk(["roof","tree"]), equals(2));
expect(cat.eatFood("dry food"), isFalse);
expect(cat.eatFood("dry food", hungry: true), isTrue);
// You can also verify using an argument matcher.
verify(cat.eatFood("fish"));
verify(cat.walk(["roof","tree"]));
verify(cat.eatFood(argThat(contains("food"))));
// You can verify setters.
cat.lives = 9;
verify(cat.lives=9);
If an argument other than an ArgMatcher (like any, anyNamed(), argThat,
captureArg, etc.) is passed to a mock method, then the equals matcher is
used for argument matching. If you need more strict matching consider use
argThat(identical(arg)).
However, note that null cannot be used as an argument adjacent to ArgMatcher
arguments, nor as an un-wrapped value passed as a named argument. For example:
verify(cat.hunt("backyard", null)); // OK: no arg matchers.
verify(cat.hunt(argThat(contains("yard")), null)); // BAD: adjacent null.
verify(cat.hunt(argThat(contains("yard")), argThat(isNull))); // OK: wrapped in an arg matcher.
verify(cat.eatFood("Milk", hungry: null)); // BAD: null as a named argument.
verify(cat.eatFood("Milk", hungry: argThat(isNull))); // BAD: null as a named argument.
Named arguments
Mockito currently has an awkward nuisance to its syntax: named arguments and argument matchers require more specification than you might think: you must declare the name of the argument in the argument matcher. This is because we can't rely on the position of a named argument, and the language doesn't provide a mechanism to answer "Is this element being used as a named element?"
// GOOD: argument matchers include their names.
when(cat.eatFood(any, hungry: anyNamed('hungry'))).thenReturn(true);
when(cat.eatFood(any, hungry: argThat(isNotNull, named: 'hungry'))).thenReturn(false);
when(cat.eatFood(any, hungry: captureAnyNamed('hungry'))).thenReturn(false);
when(cat.eatFood(any, hungry: captureThat(isNotNull, named: 'hungry'))).thenReturn(true);
// BAD: argument matchers do not include their names.
when(cat.eatFood(any, hungry: any)).thenReturn(true);
when(cat.eatFood(any, hungry: argThat(isNotNull))).thenReturn(false);
when(cat.eatFood(any, hungry: captureAny)).thenReturn(false);
when(cat.eatFood(any, hungry: captureThat(isNotNull))).thenReturn(true);
Verifying exact number of invocations / at least x / never
cat.sound();
cat.sound();
// Exact number of invocations
verify(cat.sound()).called(2);
// Or using matcher
verify(cat.sound()).called(greaterThan(1));
// Or never called
verifyNever(cat.eatFood(any));
Verification in order
cat.eatFood("Milk");
cat.sound();
cat.eatFood("Fish");
verifyInOrder([
cat.eatFood("Milk"),
cat.sound(),
cat.eatFood("Fish")
]);
Verification in order is flexible - you don't have to verify all interactions one-by-one but only those that you are interested in testing in order.
Making sure interaction(s) never happened on mock
verifyZeroInteractions(cat);
Finding redundant invocations
cat.sound();
verify(cat.sound());
verifyNoMoreInteractions(cat);
Capturing arguments for further assertions
// Simple capture
cat.eatFood("Fish");
expect(verify(cat.eatFood(captureAny)).captured.single, "Fish");
// Capture multiple calls
cat.eatFood("Milk");
cat.eatFood("Fish");
expect(verify(cat.eatFood(captureAny)).captured, ["Milk", "Fish"]);
// Conditional capture
cat.eatFood("Milk");
cat.eatFood("Fish");
expect(verify(cat.eatFood(captureThat(startsWith("F")))).captured, ["Fish"]);
Waiting for an interaction
// Waiting for a call.
cat.eatFood("Fish");
await untilCalled(cat.chew()); // Completes when cat.chew() is called.
// Waiting for a call that has already happened.
cat.eatFood("Fish");
await untilCalled(cat.eatFood(any)); // Completes immediately.
Writing a fake
You can also write a simple fake class that implements a real class, by extending Fake. Fake allows your subclass to satisfy the implementation of your real class, without overriding the methods that aren't used in your test; the Fake class implements the default behavior of throwing UnimplementedError (which you can override in your fake class):
// Fake class
class FakeCat extends Fake implements Cat {
@override
bool eatFood(String food, {bool hungry}) {
print('Fake eat $food');
return true;
}
}
void main() {
// Create a new fake Cat at runtime.
var cat = FakeCat();
cat.eatFood("Milk"); // Prints 'Fake eat Milk'.
cat.sleep(); // Throws.
}
Resetting mocks
// Clearing collected interactions:
cat.eatFood("Fish");
clearInteractions(cat);
cat.eatFood("Fish");
verify(cat.eatFood("Fish")).called(1);
// Resetting stubs and collected interactions:
when(cat.eatFood("Fish")).thenReturn(true);
cat.eatFood("Fish");
reset(cat);
when(cat.eatFood(any)).thenReturn(false);
expect(cat.eatFood("Fish"), false);
Debugging
// Print all collected invocations of any mock methods of a list of mock objects:
logInvocations([catOne, catTwo]);
// Throw every time that a mock method is called without a stub being matched:
throwOnMissingStub(cat);
Best Practices
Testing with real objects is preferred over testing with mocks - if you can
construct a real instance for your tests, you should! If there are no calls to
verify in your test, it is a strong signal that you may not need mocks at all,
though it's also OK to use a Mock like a stub. When it's not possible to use
the real object, a tested implementation of a fake is the next best thing - it's
more likely to behave similarly to the real class than responses stubbed out in
tests. Finally an object which extends Fake using manually overridden methods
is preferred over an object which extends Mock used as either a stub or a
mock.
A class which extends Mock should never stub out it's own responses with
when in it's constructor or anywhere else. Stubbed responses should be defined
in the tests where they are used. For responses controlled outside of the test
use @override methods for either the entire interface, or with extends Fake
to skip some parts of the interface.
Similarly, a class which extends Mock should never have any @override
methods. These can't be stubbed by tests and can't be tracked and verified by
Mockito. A mix of test defined stubbed responses and mock defined overrides will
lead to confusion. It is OK to define static utilities on a class which
extends Mock if it helps with code structure.
How it works
The basics of the Mock class are nothing special: It uses noSuchMethod to
catch all method invocations, and returns the value that you have configured
beforehand with when() calls.
The implementation of when() is a bit more tricky. Take this example:
// Unstubbed methods return null:
expect(cat.sound(), nullValue);
// Stubbing - before execution:
when(cat.sound()).thenReturn("Purr");
Since cat.sound() returns null, how can the when() call configure it?
It works, because when is not a function, but a top level getter that
returns a function. Before returning the function, it sets a flag
(_whenInProgress), so that all Mock objects know to return a "matcher"
(internally _WhenCall) instead of the expected value. As soon as the function
has been invoked _whenInProgress is set back to false and Mock objects
behave as normal.
Argument matchers work by storing the wrapped arguments, one after another,
until the when (or verify) call gathers everything that has been stored,
and creates an InvocationMatcher with the arguments. This is a simple process
for positional arguments: the order in which the arguments has been stored
should be preserved for matching an invocation. Named arguments are trickier:
their evaluation order is not specified, so if Mockito blindly stored them in
the order of their evaluation, it wouldn't be able to match up each argument
matcher with the correct name. This is why each named argument matcher must
repeat its own name. foo: anyNamed('foo') tells Mockito to store an argument
matcher for an invocation under the name 'foo'.
Be careful never to write
when;(without the function call) anywhere. This would set_whenInProgresstotrue, and the next mock invocation will return an unexpected value.
The same goes for "chaining" mock objects in a test call. This will fail:
var mockUtils = MockUtils();
var mockStringUtils = MockStringUtils();
// Setting up mockUtils.stringUtils to return a mock StringUtils implementation
when(mockUtils.stringUtils).thenReturn(mockStringUtils);
// Some tests
// FAILS!
verify(mockUtils.stringUtils.uppercase()).called(1);
// Instead use this:
verify(mockStringUtils.uppercase()).called(1);
This fails, because verify sets an internal flag, so mock objects don't
return their mocked values anymore but their matchers. So
mockUtils.stringUtils will not return the mocked stringUtils object you
put inside.
You can look at the when and Mock.noSuchMethod implementations to see how
it's done. It's very straightforward.
NOTE: This is not an official Google product
Changelog
4.1.1
- Mark the unexported and accidentally public
setDefaultResponseas deprecated. - Mark the not useful, and not generally used,
namedfunction as deprecated. - Produce a meaningful error message if an argument matcher is used outside of
stubbing (
when) or verification (verifyanduntilCalled).
4.1.0
- Add a
Fakeclass for implementing a subset of a class API as overrides without misusing theMockclass.
4.0.0
-
Replace the dependency on the test package with a dependency on the new test_api package. This dramatically reduces mockito's transitive dependencies.
This bump can result in runtime errors when coupled with a version of the test package older than 1.4.0.
3.0.2
- Rollback the test_api part of the 3.0.1 release. This was breaking tests that use Flutter's current test tools, and will instead be released as part of Mockito 4.0.0.
3.0.1
- Replace the dependency on the test package with a dependency on the new test_api package. This dramatically reduces mockito's transitive dependencies.
- Internal improvements to tests and examples.
3.0.0
-
Deprecate the
typedAPI; instead of wrapping other Mockito API calls, likeany,argThat,captureAny, andcaptureArgThat, with a call totyped, the regular API calls are to be used by themselves. PassinganyandcaptureAnyas named arguments must be replaced withanyNamed()andcaptureAnyNamed, respectively. PassingargThatandcaptureThatas named arguments must include thenamedparameter. -
Introduce a backward-and-forward compatible API to help users migrate to Mockito 3. See more details in the upgrading-to-mockito-3 doc.
-
thenReturnnow throws anArgumentErrorif either aFutureorStreamis provided.thenReturncalls with futures and streams should be changed tothenAnswer. See the README for more information. -
Support stubbing of void methods in Dart 2.
-
thenReturnandthenAnswernow support generics and infer the correct types from thewhencall. -
Completely remove the mirrors implementation of Mockito (
mirrors.dart). -
Fix compatibility with new noSuchMethod Forwarding feature of Dart 2. This is thankfully a mostly backwards-compatible change. This means that this version of Mockito should continue to work:
- with Dart
>=2.0.0-dev.16.0, - with Dart 2 runtime semantics (i.e. with
dart --preview-dart-2, or with Flutter Beta 3), and - with the new noSuchMethod Forwarding feature, when it lands in CFE, and when it lands in DDC.
This change, when combined with noSuchMethod Forwarding, will break a few code paths which do not seem to be frequently used. Two examples:
class A { int fn(int a, [int b]) => 7; } class MockA extends Mock implements A {} var a = new MockA(); when(a.fn(typed(any), typed(any))).thenReturn(0); print(a.fn(1));This used to print
null, because only one argument was passed, which did not match the two-argument stub. Now it will print0, as the real call contains a value for both the required argument, and the optional argument.a.fn(1); a.fn(2, 3); print(verify(a.fn(typed(captureAny), typed(captureAny))).captured);This used to print
[2, 3], because only the second call matched theverifycall. Now, it will print[1, null, 2, 3], as both real calls contain a value for both the required argument, and the optional argument. - with Dart
-
Upgrade package dependencies.
-
Throw an exception when attempting to stub a method on a Mock object that already exists.
2.2.0
- Add new feature to wait for an interaction:
untilCalled. See the README for documentation. capture*calls outside of averify*call no longer capture arguments.- Some collections require stricter argument matching. For example, a stub like:
mock.methodWithListArgs([1,2,3].map((e) => e*2))(note theIterableargument) will no longer match the following stub:when(mock.methodWithListArgs([42])).thenReturn(7);.
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.infinityto support Dart 2.0 development testing. - Add a Mockito + test package example at
test/example/iss.
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
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add mockitopubspec.yaml
name: mockito
version: 4.1.1
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: '>=2.0.0 <3.0.0'
dependencies:
collection: ^1.1.0
matcher: ^0.12.3
meta: ^1.0.4
test_api: ^0.2.1
dev_dependencies:
build_runner: ^1.0.0
build_test: ^0.10.0
build_web_compilers: '>=1.0.0 <3.0.0'
pedantic: ^1.3.0
test: ^1.5.1
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.8.0 | 2014-07-14T11:58:32.728020Z | Download | 7d2e4d89f049e17d2980827e773c59ff1f48182df7a5e2f6e10497ed79d8e9c0 |
| 0.8.1 | 2014-07-18T20:51:06.435860Z | Download | e9d7d9088322924701a71161a1c5e6cab63d2ab78cd9b1dc6deefb7fdf9430fd |
| 0.8.2 | 2015-01-29T10:24:59.006460Z | Download | 196a9047b8c52f1432788c6fc2b3cb079797b727192714329afc75395bd3e7d0 |
| 0.9.0 | 2015-05-11T01:12:56.838310Z | Download | ce58fcc1dac197fde30deae04b514bc24b0ebe7e54837309492eea2c8d60628f |
| 0.10.0 | 2015-05-13T02:44:02.936620Z | Download | 6ba827bb4e49f0060451b4deef06b061c5b3ee13fb5a641a9a302f3a0122c4ce |
| 0.10.1 | 2015-05-13T03:26:42.060190Z | Download | fced59ba8cf465662c3af22897ac772190013ebfc7dcb66cfcfb2189ce4cd4d5 |
| 0.11.0 | 2015-09-14T03:59:58.190Z | Download | 924ee76c46acfe71cca660625fa614ed0f571f99a0e6099d183b74c552315ab0 |
| 1.0.0 | 2016-08-05T20:30:14.430Z | Download | 84e5eae0d2b00f79d30a1ef4ac35d48489436f97f1d972acd5bb73f3ccb1ea7e |
| 1.0.1 | 2016-09-28T00:53:35.009Z | Download | 54ea01ed42301b31d2b83f3e59e648ee049d1e2959959cee2f7dc4914d3482a4 |
| 2.0.2 | 2017-03-10T18:34:00.874Z | Download | a94fe933e4af8282440701601be17215f67736d4af3de8a709bcffb8f97f376b |
| 2.1.0 | 2017-07-31T22:13:21.528466Z | Download | 5b2937c68ff78c4645068eb79b0b85e6d32225d1655f0d0223c1b2a893f5121a |
| 2.2.0 | 2017-08-15T22:56:09.689177Z | Download | d4e9344b384cb50f7956333c3629d7009df52a1eefac4e31ecc3485626951909 |
| 2.2.1-dev | 2017-11-06T19:55:46.514563Z | Download | 8aabdd05e076fedaf8af1764a4b5cdc472c5e8c70eacce0874f41891defd758b |
| 2.2.1 | 2017-11-16T22:12:06.976308Z | Download | 6c852cff88bc53f3225ffe2d08ad9aa1616ff7b87bc4fbb951d9c777a75e1b1d |
| 2.2.2 | 2018-02-09T05:43:22.783569Z | Download | cb4ef13692ecf339a6924984c6364d5c5421997741e59b2440409d94a91ef5e4 |
| 2.2.3 | 2018-02-12T01:14:34.526688Z | Download | 7761e04c9d144662eb7b5ae2519367365d8feeb1b3f48487affd50a1fdb2b4c4 |
| 3.0.0-alpha | 2017-12-13T23:04:40.474705Z | Download | 29da3f4157cb03599bf079e29ef5b91b7e01a5d815cedabe4692aba33a9a5bd9 |
| 3.0.0-alpha+2 | 2018-03-26T20:53:29.517184Z | Download | 8285ef9df3bccd5f81487fdd786900c1574071931eb9405b770a345ae343ca31 |
| 3.0.0-alpha+3 | 2018-04-05T23:31:03.896650Z | Download | 2616af6184bebb4cec6e2516f46a66a147107016a35a073d069d3f55b2d1a55e |
| 3.0.0-alpha+4 | 2018-04-18T21:10:29.571149Z | Download | 9da116336b833fcb3d8a8f3cb651ee70d20c0ff254f320f74f6f4a9b965c64f4 |
| 3.0.0-alpha+5 | 2018-05-09T18:57:16.911153Z | Download | 1a1e2d70321da453448a725dd0879e136db8f20f104e80e293697b8da5054d5d |
| 3.0.0-beta | 2018-05-16T23:13:11.594982Z | Download | 6265cca791ced698184f5df5ac6734f2e25ec60944c2a530ebf0351d60ece244 |
| 3.0.0-beta+1 | 2018-06-22T20:27:54.497906Z | Download | eca63346f7450f8ce5fae990a17ed625d049e653e643d5a21417789d4fc0bf4a |
| 3.0.0-beta+2 | 2018-07-12T13:54:30.428213Z | Download | 4fc99832af9ab96dfae197f740a1306a4f4d643d35eb707e8216bdbba828af2f |
| 3.0.0-beta+3 | 2018-07-15T18:09:53.723342Z | Download | a6f5fbb8ed84dc9a967f7e95e8478a92ec63230e01f28f9d95dbf718f5fc630b |
| 3.0.0 | 2018-07-24T18:54:45.141776Z | Download | 2f99f2c7702de0d10098a99d193b0f2453bb421dd3dae3da3c12b529725ead15 |
| 3.0.1 | 2018-11-01T16:29:41.655294Z | Download | d3afcc55f1ef6265746c03cd0e6737559f518b5cc4b244a3ada5f009019cf7d1 |
| 3.0.2 | 2018-11-05T18:48:00.289722Z | Download | 4a1db581922c044a29d44b5f2836c897985f901b826325cf7ebd9fcccd159492 |
| 4.0.0 | 2018-11-06T00:39:47.797532Z | Download | b5b6e590c8be0bc701ed4bcb9631c0cf52933feecfe88528b07661fedaade5c3 |
| 4.1.0 | 2019-05-31T16:28:17.014246Z | Download | e97166873d3335664c5a045884d50cc4be0a32f0b6afebc347bb7b803558e7ea |
| 4.1.1 | 2019-09-04T19:57:07.516567Z | Download | 4c1616e17a9b305e0054f0e6304e1967f752948eb56de73c799af158695c5cbe |
| 4.1.1+1 | 2021-03-11T17:51:09.485921Z | Download | 3885b534ee40276f15d69b9b629cf02cf5178de3c297319961eee3fdf45e2b4f |
| 4.1.2 | 2020-08-28T00:18:05.278962Z | Download | b46b7541d6c8b8e2cff7cb7942ff26cf2af06e2e9ee85d601f3def08f9916d60 |
| 4.1.3 | 2020-10-21T22:34:04.506652Z | Download | 32a07780f79c93c90d9b1fbe63196dcec3504514790f21b40766b847975c51ee |
| 4.1.4 | 2021-01-26T01:51:20.019954Z | Download | 91ce85f435487ba5900b7e8cd403266c77b4633a2a994d04bb47f0a6fc65fcd8 |
| 5.0.0-nullsafety.0 | 2020-12-22T18:01:45.183113Z | Download | 1b3297247437a09278d5b80bc1f3197d95e7125c7e3576dfa7b0aa96480daed7 |
| 5.0.0-nullsafety.1 | 2020-12-30T20:51:52.282910Z | Download | d48b42c0d7391e4260549d834b466fe7127be457420dd437da48d05e3d8354e5 |
| 5.0.0-nullsafety.2 | 2021-01-12T19:11:03.255676Z | Download | 3004d87e2cf3538f477d8e22720df036c650945be34d8cf6c1b09d6ae332dea9 |
| 5.0.0-nullsafety.3 | 2021-01-14T14:20:25.741038Z | Download | 1dde7966310f8351c50a5655392f2c0da4ebcbbc4b304df789206b400cc9e90b |
| 5.0.0-nullsafety.4 | 2021-01-18T03:55:13.148946Z | Download | 85fb0ac70ecb324865d4ded7d7fe6405718e2e056487319da6d5c8e0b4720a61 |
| 5.0.0-nullsafety.5 | 2021-01-22T20:52:51.311234Z | Download | f05c235a9d3b0f9a028beaaf799a8c19da7327bfe86f04a755050afa84b7d6ee |
| 5.0.0-nullsafety.6 | 2021-02-03T22:50:16.623303Z | Download | 70a9ea9925419dc97acb95d887da5f755f28e63d1c007b1d38779e509596a9d0 |
| 5.0.0-nullsafety.7 | 2021-02-04T20:58:37.455071Z | Download | 8a771cc99ffe1dc519e8f0231ab52aff61b43d2af43b4808a39778392a356c2a |
| 5.0.0 | 2021-02-23T22:41:29.906159Z | Download | 4e44306b7710999181fdb4b789f3373768b2f6c440d37f198f7eff640e7baa37 |
| 5.0.1 | 2021-03-12T16:13:47.569866Z | Download | 3d289e0dc83d542c76b8406c72e978b4cefb1a6d2586c1469d02b36ac848889e |
| 5.0.2 | 2021-03-17T21:52:43.957073Z | Download | c08c2a3c5adc02b1d9286a8954d045bbfb624bc419fc59331c6d97f6e612fffc |
| 5.0.3 | 2021-03-25T20:25:54.581628Z | Download | 0c90f7d828cfb473b5efe9e276d40d4c3d2552bb5677cbcac255f53b1cabdee7 |
| 5.0.4 | 2021-04-12T19:15:08.380264Z | Download | 2a257fa0af31f009ea355e4139354a1a39622112e717ccc8c265df228705a0fc |
| 5.0.5 | 2021-04-20T00:52:32.061051Z | Download | 81191e95800771a66fb3dcdbe89a4f23c6bb52264f0097a7ea3e718b38847512 |
| 5.0.6 | 2021-04-27T23:12:04.935250Z | Download | c14a8f50eddec74c5385cc8dfa1cec8d8a1f2aefc2bae4f004073da3c2cac9b3 |
| 5.0.7 | 2021-04-28T22:02:25.856478Z | Download | b84dae984cd112de0dd0829f35ac9fe21137dac5ee69c6430ddc5ef77959214c |
| 5.0.8 | 2021-05-19T16:33:31.934369Z | Download | c93e71b1f47619aa5312e7bbedc7bb26ff40da370271fd7e531b4b030cabc82c |
| 5.0.9 | 2021-05-25T18:33:38.307160Z | Download | 2c1458622fc9ee2722c1a7dbb1a390574ca476b919243b76822b807da76a7384 |
| 5.0.10 | 2021-06-07T18:26:04.217585Z | Download | dbf2929d9112062271d17fbaf8a2850d20a3cd660841a1d2be2b54d5760a6d9c |
| 5.0.11 | 2021-07-15T19:17:28.979889Z | Download | 01d79ce16f7a830d02a5d2c93650c59813436334e82ec3a36b3fed90df75eb02 |
| 5.0.12 | 2021-07-21T16:46:16.429125Z | Download | 311de1ee1d4c783103821548767d2c7b118057901924ff38003880a0a80b9c77 |
| 5.0.13 | 2021-07-30T20:15:23.691198Z | Download | 034419542461be903960e7c3af4fca02389bdffcf65764a228aa9e34d90aa462 |
| 5.0.14 | 2021-08-06T15:53:45.853132Z | Download | 0519ff54a2a3e31a7ece46ea5c205ee9510efa8873374ee95daa40b9cab00fa1 |
| 5.0.15 | 2021-08-23T13:33:48.723091Z | Download | 6668f23c57bbf3857437c1683e8e0bef7e1077537593293e1fc8d1099fcc1981 |
| 5.0.16 | 2021-09-14T21:05:39.521149Z | Download | bfee3c0897229528e639457ff77ae710446a19a7404fdb9800cfe4947680611e |
| 5.0.17 | 2021-12-20T20:11:33.384999Z | Download | b3d226c3ee1aa60b782eb9479fd7baa2e31eaaabc04781ba4711d62ed56fccd6 |
| 5.1.0 | 2022-02-11T00:23:13.829133Z | Download | ee6d78bf86138646a798b44c7c9e1602676015126d356a80e60af1e939bc2d4a |
| 5.2.0 | 2022-05-17T15:34:28.946489Z | Download | a8a1ba34be3ef1056efd32b3f2e8f9266711bd3edf30dc7107d903f70da788f5 |
| 5.3.0 | 2022-07-28T15:41:52.307233Z | Download | c3454a63ae0e880c7c9dd2dcae2dd7df103cb491889333fd0a50560de803dc78 |
| 5.3.1 | 2022-09-14T18:14:25.199659Z | Download | c4f1c1c6f40d241297b48c621ae8ce46dac0bf5b9292023927a74d3822694ad2 |
| 5.3.2 | 2022-09-22T16:44:35.342604Z | Download | 2a8a17b82b1bde04d514e75d90d634a0ac23f6cb4991f6098009dd56836aeafe |
| 5.4.0 | 2023-03-24T02:45:21.098037Z | Download | dd61809f04da1838a680926de50a9e87385c1de91c6579629c3d1723946e8059 |
| 5.4.1 | 2023-05-23T00:24:46.330315Z | Download | 8b46d7eb40abdda92d62edd01546051f0c27365e65608c284de336dccfef88cc |
| 5.4.2 | 2023-06-10T01:53:25.038676Z | Download | 7d5b53bcd556c1bc7ffbe4e4d5a19c3e112b7e925e9e172dd7c6ad0630812616 |
| 5.4.3 | 2023-11-16T21:50:00.888039Z | Download | 4b693867cee1853c9d1d7ecc1871f27f39b2ef2c13c0d8d8507dfe5bebd8aaf1 |
| 5.4.4 | 2023-12-14T20:44:21.929951Z | Download | 6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917 |
| 5.4.5 | 2024-12-18T20:00:07.399207Z | Download | f99d8d072e249f719a5531735d146d8cf04c580d93920b04de75bef6dfb2daf6 |
| 5.4.6 | 2025-04-21T21:19:29.331733Z | Download | 4546eac99e8967ea91bae633d2ca7698181d008e95fa4627330cf903d573277a |
| 5.5.0-dev | 2025-07-08T14:25:15.445093Z | Download | c83b003125f9f74ceab80912231cc34e89e8541a7b5f2c4ecdff857d0b74afa9 |
| 5.5.0 | 2025-07-21T14:30:09.857961Z | Download | 2314cbe9165bcd16106513df9cf3c3224713087f09723b128928dc11a4379f99 |
| 5.5.1 | 2025-09-04T15:24:21.921979Z | Download | 4feb43bc4eb6c03e832f5fcd637d1abb44b98f9cfa245c58e27382f58859f8f6 |
| 5.6.1 | 2025-11-21T10:26:13.107375Z | Download | dac24d461418d363778d53198d9ac0510b9d073869f078450f195766ec48d05e |
| 5.6.3 | 2026-01-12T20:46:42.612735Z | Download | a45d1aa065b796922db7b9e7e7e45f921aed17adf3a8318a1f47097e7e695566 |
| 5.6.4 | 2026-03-24T16:30:34.739354Z | Download | eff30d002f0c8bf073b6f929df4483b543133fcafce056870163587b03f1d422 |
| 5.6.5 | 2026-04-30T09:16:34.068572Z | Download | 3762486c07f0faba043abf7da4f51f8564d2119659b1d8a708d34bff74ed5035 |
| 5.7.0 | 2026-05-19T16:06:42.489153Z | Download | c8d040d754367108fbe482dcb79dd72b8fe60ac6727abd15b4783c5560297ee6 |
| 5.8.0 | 2026-07-31T09:33:04.743166Z | Download | a9b2bb8762a19c91a5d2f79b4723376648454b7b2b428ad1113151ee79f6f68f |
| 5.8.1 | 2026-08-06T08:45:07.097799Z | Download | 6c1970612452260366064d4df80fdb3eece1ec5e52610ae34a0e51f2f3d8e64f |
Dependencies
collection "^1.1.0"
matcher "^0.12.3"
meta "^1.0.4"
test_api "^0.2.1"