mockable 0.1.0 copy "mockable: ^0.1.0" to clipboard
mockable: ^0.1.0 copied to clipboard

Annotation and runtime helpers for generating realistic mock instances of your Dart classes. Pairs with mockable_gen for build_runner code generation.

0.1.0 #

  • Initial release.
  • @Mockable() annotation marks a class for mock generation by mockable_gen.
  • @MockableIgnore() annotation skips mock generation for a single field.
  • MockFaker static façade over package:faker with helpers covering common field shapes (email, phone, name, id, url, dates, currency, etc.) plus a seed() for deterministic output.
2
likes
0
points
204
downloads

Publisher

unverified uploader

Weekly Downloads

Annotation and runtime helpers for generating realistic mock instances of your Dart classes. Pairs with mockable_gen for build_runner code generation.

Repository (GitHub)
View/report issues

Topics

#code-generation #mock #testing #skeletonizer

License

unknown (license)

Dependencies

faker, meta

More

Packages that depend on mockable