1

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?

kenorb
  • 155,785
  • 88
  • 678
  • 743
Praneet Bahadur
  • 232
  • 1
  • 2
  • 11

1 Answers1

1

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

Community
  • 1
  • 1
Aman Kumar
  • 232
  • 4
  • 11