Fed03's avatar

Test abstract class or trait with PHPSPEC

Hi, I think that the title is self-explanatory XD In phpunit we create simple fake objects that inherits traits or abstract classes....How can we accomplish that?

thnx

0 likes
2 replies
Gufran's avatar
Gufran
Best Answer
Level 2

I'd be more than happy to answer this question but I don't think my words would do any justice to it, so for this question, and every other question after this which goes along the lines of "I can't do stuff with PHPSpec" or "How can I do stuff with PHPSpec" please read this article here.

It is really good resource if you want to take PHPSpec seriously and learn more about it, I found it very helpful in my early PHPSpec days.

1 like

Please or to participate in this conversation.