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

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

Changelog #

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
0
points
216
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

License

unknown (license)

Dependencies

faker, meta

More

Packages that depend on faker_annotation