How can I unit test using CodeIgniter?

I want to test my controllers / models with CodeIgniter. How can I accomplish this with CodeIgniter?

+7
source share
2 answers

please check out unit testing here: unit testing with CI

It may also help: https://stackoverflow.com/a/318618/

+2
source

The platform you use does not matter. You can use the built-in CodeIgniter Unit testing library, or if you need an approach that is more like many common module testing libraries, I'd suggest you use Toast: http://jensroland.com/projects/toast/

+3
source

All Articles