faker_annotation 0.3.1 copy "faker_annotation: ^0.3.1" to clipboard
faker_annotation: ^0.3.1 copied to clipboard

Annotations for the faker code generator. Use @FakeIt() to generate fake factory functions for data classes.

Changelog #

0.3.1 #

  • Fixed FakeGenerator<T> example in README (use directly as annotation, not inside @FakeWith)

0.3.0 #

  • Added FakeGenerator<T> abstract class for creating reusable custom generators
  • Documentation improvements

0.2.0 #

  • Added @FakeAs.alwaysNull() annotation for always setting nullable fields to null
  • Added @FakeValue() annotation for setting constant values (primitives and complex objects)

0.1.0 #

  • Initial release
  • Added @FakeIt() annotation for marking classes for fake factory generation
  • Added @FakeAs() annotation for specifying Faker methods to use for fields
  • Added @FakeWith() annotation for custom fake functions
  • Added Faker class providing comprehensive fake data generation methods
1
likes
150
points
211
downloads

Publisher

unverified uploader

Weekly Downloads

Annotations for the faker code generator. Use @FakeIt() to generate fake factory functions for data classes.

Repository (GitHub)
View/report issues

Topics

#testing #mocking #faker #code-generation

Documentation

API reference

License

MIT (license)

Dependencies

faker, meta

More

Packages that depend on faker_annotation