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

outdated

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

Activatory #

Build 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.

This is my first Dart project. Actually, this is my "pet-project" so there are no exact plans and etc.

Project TODO's: #

  • Add primitive types support
  • Add complex types support
    • using constructor
    • using factory methods
    • using named constructors
    • using default argument values for positional arguments
    • using named arguments
    • using default argument values for named arguments
  • Customization of complex object factory strategy selection: random/round robin/first/shortest/longest
  • Add ability to explicit register factory
  • Add fixed (singleton) values support
  • Add parameter overloading by name
  • Add parameter overloading by type
  • Add configuration layers and reusability for complex cases
  • Add paramsObject and paramsObject to factory matching
  • Add ability to customize context before data generation without saving settings to context
  • Add paramsObject layering
  • *Read autofixture sources to gather ideas and vision
  • *Add examples and docs
  • *Add CI/CD:
    • *build and publish to pub
    • *coverage reports
  • Add nice looking readme and github repo info
  • Add recursion handling (which one strategy should be used?)
  • Encapsulate all errors inside library (throws only ActivatoryException)
  • Add feature customization (e.g. ctor resolution strategy, default values handling and etc)
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