mockable 0.2.2
mockable: ^0.2.2 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.2.2 #
- Republish in lockstep with
mockable_gen 0.2.2. No API changes.
0.2.1 #
- Republish in lockstep with
mockable_gen 0.2.1. No API changes; this version exists somockableandmockable_genshare a version number going forward.
0.2.0 #
- Version sync with
mockable_gen0.2.0 (which adds auto-mocking of unannotated nested model types). No functional changes in this package — the runtime/annotation surface (@Mockable(),@MockableIgnore(),MockFaker) is unchanged from 0.1.0.
0.1.0 #
- Initial release.
@Mockable()annotation marks a class for mock generation bymockable_gen.@MockableIgnore()annotation skips mock generation for a single field.MockFakerstatic façade overpackage:fakerwith helpers covering common field shapes (email, phone, name, id, url, dates, currency, etc.) plus aseed()for deterministic output.