model_mixer 0.1.1

Dart native

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

Build Status codecov Pub Version License ko-fi

Model Mixer #

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

  • unit
  • integration
  • etc.

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
70
pub points
0%
popularity

Publisher

hello-curiosity.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

lipsum

More

Packages that depend on model_mixer