Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] also generate faker yaml files which leverages hautelook/AliceBundle #77

Open
Evertt opened this issue May 30, 2017 · 1 comment

Comments

@Evertt
Copy link

Evertt commented May 30, 2017

I guess it should be possible to map every Schema.org property to a reasonable faker-data-point. This would just be so nice to have. To be able to just write a simple yaml file saying what schemas with which properties you want to use from Schema.org, execute a console command and then to immediately have entities, working api endpoints and fake data ready to go.

@theofidry
Copy link
Contributor

theofidry commented May 31, 2017

Such generators shouldn't be too hard to do but I don't think this belongs to the core but rather as a dedicated library leveraging both. This would allow to make opinionated choices regarding things such as the location and name of the generated fixture files which can virtually be anywhere.

Also you can have multiple fixture files for the same entity if you don't use a fixture set of all your tests (and I don't recommend to do so either as it quickly becomes hard to maintain if you use it for your tests)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants