Open StefanGramadnikov opened 8 years ago
Is codeception requiring the file?
Which file exactly. It is requiring the factory and it is throwing the exception when I call $fm->define().
Hi @StefanGramadnikov ! Did you get any further help on this? I am facing a similar issue.
the same issue with me, I am implementing this repo for Codeigniter 3.x. when I define a Model, after run a testcase It throw "The model definition 'User' is undefined" if I use namespace for Model, it's okay, but I dont want to use namespace for it, I throw above error. Any guys have solutions to solve this ?? @StefanGramadnikov @GrahamCampbell
same issue
Did any of you the solution? I have the same issue trying to integrate Codeception in ZendExpressive.
I'm using ZF2 framework and have similar issue
Hi,
I'm using codeception and symfony 2.8 with doctrine 2. I'm writing unit tests with codeception and I want to pre load some data with Factory Muffin, but I'm getting stuck. Here is my setup:
note: I have installed factory muffin and the faker through composer
My problem is that when I run the tests I get ->
I was trying to debug it and saw that the method define in FactoryMuffin.php is being called two times and I couldn't figure out why. The second time is where it throws the exception.
If I try $fm->make instead of define I get
Can you please tell me if I'm doing something wrong or check if there is some mistake in the code. If you need more info about my configuration I'll be in touch.
Thank you