ci-phpunit-test for CodeIgniter 3.0 |
My pleasure.
You don't have to test abstract classes. Test your concrete classes. The behavior of an abstract class could test via testing a concrete class which inherits it. If you really want to test abstract classes, you could use PHPUnit getMockForAbstractClass(). https://phpunit.readthedocs.io/en/8.5/te...ct-classes |
Welcome Guest, Not a member yet? Register Sign In |