mpociot / laravel-test-factory-helper

Generate Laravel test factories from your existing models
935 stars 87 forks source link

Not working when using --dir option #49

Open ajcastro opened 4 years ago

ajcastro commented 4 years ago

I use --dir app/Models and it seems the class path is not correct so I just manage to edit the code "temporarily" and it worked: image

jasonmccreary commented 4 years ago

Thanks for reporting. I'll take a closer look.

ajcastro commented 4 years ago

@jasonmccreary I also suggest if we use config file so we can set there our models directory or class path, so we don't need to always include --dir option when running the command