activatory 0.0.6 activatory: ^0.0.6 copied to clipboard
Test data generator aimed to simplify Test-Driven Development with Dart
Activatory #
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)