mockor 1.0.2 copy "mockor: ^1.0.2" to clipboard
mockor: ^1.0.2 copied to clipboard

outdated

Generic mocker method generator for `mockito` or `mocktail` to mock any class just like in the original `mockito`.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add mockor

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  mockor: ^1.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mockor/mockor.dart';
1
likes
0
pub points
0%
popularity

Publisher

verified publisherrmdy.be

Generic mocker method generator for `mockito` or `mocktail` to mock any class just like in the original `mockito`.

Homepage

License

unknown (LICENSE)

Dependencies

analyzer, build, code_builder, dart_style, flutter, path, source_gen

More

Packages that depend on mockor