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

outdated

Model Mixer is a library to automate model generation for automated tests.

Build Status codecov

Model Mixer #

Model Mixer is a library to automate model generation for automated testing:

  • unit
  • integration
  • etc.

Flutter Friendly #

Model Mixer is Flutter friendly 🚀

Getting Started #

Define you model:

class TestObject {
  TestObject(
    this.stringValue,
    this.intValue,
    this.doubleValue,
    this.booleanValue,
    this.dateTimeValue,
  );

  final String stringValue;
  final int intValue;
  final double doubleValue;
  final bool booleanValue;
  final DateTime dateTimeValue;
}

Auto generate models for testing:

final TestObject testObject = modelMixer.build(TestObject);

Supported Types #

Model Mixer currently supports the auto generation for the following types:

  • bool
  • double
  • DateTime
  • int
  • String

Inspiration #

Model Mixer was inspired from Fritter Factory, another great model generator for java and Android:

0
likes
30
pub points
0%
popularity

Publisher

verified publisherhello-curiosity.com

Model Mixer is a library to automate model generation for automated tests.

Repository (GitHub)
View/report issues
Contributing

License

MIT (LICENSE)

Dependencies

lipsum

More

Packages that depend on model_mixer