zenstruck / foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html
MIT License
643 stars 70 forks source link

Document using `paratestphp/paratest` #520

Closed kbond closed 10 months ago

kbond commented 10 months ago

Closes #103

kbond commented 10 months ago

@benr77, as you just implemented in your project, do you mind giving this a quick review to ensure I captured everything?

benr77 commented 10 months ago

Looks good to me. The only thing I can think of to add, is that Global State should be minimised where possible, as this adds to the test startup time - not a worry when you are running your entire suite, but if you are just running a single test case or class then you have to wait for the global state to load first.

kbond commented 10 months ago

Thanks, I added a warning about this to the global state section.