-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
Hello ex_machina maintainers.
I've discovered that data for Ecto factories could be generated using StreamData library. Here's an example. The most compelling thing to me in this approach is that I can define one set of functions and use them simultaneously as Ecto factories in unit/controller tests and as generators in property-based testing.
I have a working solution and almost ready to share it with the community.
Please, consider the following questions:
- Do you want me to contribute such functionality to your project?
- If not, do you mind if I borrow some code in
params_for*
functions?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels