Testing with anonymous class
Opened this issue · 1 comments
jacob418 commented
In my project I have a number of traits for form requests. I like to test those traits individually. To achieve this I create anonymous classes within my test-cases, implementing example form requests with those traits.
Is there a way to make this possible with this package? I didn't see the possibility so far since I can only provide class names to $this->formRequest
and anonymous classes don't have real names.
Ty for the good work, it has been a big help so far!
mohammedmanssour commented
Hello @jacob418
I'm happy to consider such a feature.
Can you please provide an example to make things clearer? so we build the right solution.
Thanks,