Creating a base test-class for PHPUnit and extending it for common functionality results in class not found error

前端 未结 4 1367
南方客
南方客 2021-02-06 22:44

I\'m running PHPUnit using a bootstrap file for autoloading classes (generated by composer).

All my tests load up classes just fine, but for two of my tests, I made a \

4条回答
  •  清歌不尽
    2021-02-06 23:18

    I'm not sure if you still need a solution, but this worked for me:
    Non-testable base class extending PHPUnit_Framework_TestCase

提交回复
热议问题