Reputation: 224
I am working with Codeigniter 3 and I installed phpunit in ubuntu but not able to use the classes of phpunit getting fatal error.
Now i want to check whether phpunit correctly installed or not?
If installed then how to use it in codeigniter application?
Upvotes: 1
Views: 75
Reputation: 232
You can integrate PHPUnit with CodeIgniter using CIUnit. For more details on why CIUnit is required go through:
Why is CIUnit needed in order to use PHPUnit with CodeIgniter?
To know more about CIUnit visit: https://bitbucket.org/kenjis/my-ciunit/overview
Sample code to integrate codeIgniter(3) with PHPUnit: How do I use PHPUnit with CodeIgniter?
and this also may help you How do I use PHPUnit with CodeIgniter 3
Upvotes: 1