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

Adds an 'All' option to factory generation that creates all uncreated factories. #247

Merged
merged 6 commits into from
Feb 3, 2022

Conversation

abeal-hottomali
Copy link
Contributor

@abeal-hottomali abeal-hottomali commented Feb 2, 2022

Would address #15

Tests still TBD. What's the default testing mechanism?

**Edit: Looking at the existing tests, I'm a bit unsure how to proceed. I found \Zenstruck\Foundry\Tests\Unit\Bundle\DependencyInjection\ZenstruckFoundryExtensionTest, but I'm not seeing where you tested that existing entities showed up as options, and that maker output was actually generated? If you don't consider that needing testing, let me know - I think this works, otherwise.

@kbond
Copy link
Member

kbond commented Feb 3, 2022

Thanks for working on this @abeal-hottomali! Yeah, the test suite is a bit of a bear. I'll work out the tests before merging.

@abeal-hottomali
Copy link
Contributor Author

abeal-hottomali commented Feb 3, 2022 via email

@kbond kbond merged commit 01ebfab into zenstruck:master Feb 3, 2022
@kbond
Copy link
Member

kbond commented Feb 3, 2022

Thanks @abeal-hottomali!

@nikophil nikophil mentioned this pull request Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants