activatory 0.0.14 copy "activatory: ^0.0.14" to clipboard
activatory: ^0.0.14 copied to clipboard

outdated

Test data generator aimed to simplify Test-Driven Development with Dart

Activatory #

Build Status Coverage Status Pub

This project is aimed to bring a test data generator to Dart's ecosystem. This will greatly simplify unit testing and especially Test-Driven Development.

This project is inspired by .NET Autofixture library.

Supported features #

  • Effortless primitive types (String, int, double, bool, DateTime, enums) generating.
  • Effortless complex object generating using constructors/factory methods/named constructors (default values for arguments are preferred).
  • Overriding default generating behavior with custom factories, pinned values defined by user or auto generated.
  • Overriding default generating behavior for specific cases using any object as a key.
  • Arrays generating with customizable size: it is effortless for primitive types and require explicit registration for enums and complex types.
  • Support of recursive graphs (trees, linked lists and etc) with customizable recursion level.
  • Generic class instances generating with explicit factory registration.
  • Customization of ctor resolution: random, first, random named, factory, default.

Roadmap #

This is my first Dart project and, actually, this is "pet-project". So there are no exact plans and etc. For planned features and more see enhancements on github.

15
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Test data generator aimed to simplify Test-Driven Development with Dart

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

uuid

More

Packages that depend on activatory