foundry icon indicating copy to clipboard operation
foundry copied to clipboard

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

Results 160 foundry issues
Sort by recently updated
recently updated
newest added

Hi, Command `make:factory` create Factory with default Faker method according to field type, like `self::faker()->text()` for a `string` field What would you think about use `limit` property of fields and...

Instead of calling `MyStory::load()->get('some-state')`, can call `MyStory::get('some-state')`. This deprecates calling `->get()` instance method.

enhancement

feature(doctrine events): allow factories to disable doctrine events before creation. (issue #215)

I started trying out some of the ideas in #110 and #113. The idea of this change is that instead of a "fake" `Proxy` object, we return a proxied entity/model....

Followup for #51. The test suite does not pass for posgres with DAMADoctrineTestBundle enabled.

bug
help wanted

The tests run successfully when run separate. Seems to be caused by a test that does not have the `ResetDatabase` trait and boots the kernel (in this case `MakeFactoryTest`). The...

bug
help wanted

Hi, I use EventListener in Symfony to set Database credentials. I have a problem using Foundry in my WebCaseTest. When I use AdminFactory before ->request() my EventListeners are not loaded...

@wouterj and I have been discussing some potential changes for 2.0. This is a list of potential ideas: - [x] #37 - [ ] Rename `ProxyRepository` to `RepositoryDecorator` and mark...

This is more of a question or feature request, than an issue. I couldn't find it in the docs, so is it possible to truncate a table using Factories? and...