CodeIgniter Forums

Full Version: How do you use the Unit Testing LIbrary?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, I've always had issues coming up with an effective way to incorporate the Unit Testing Library that CodeIgniter ships with. I would love to update the docs with a strategy for using the classes in a project, and not just the reference that's in there currently. However, I'm not sure what the best strategy would be. 

That's why I need your help.

I would love to hear your use cases and strategies for it's long-term use in a project. Or do you find it can't be too effective long term and is better for quick checks? 
I only used this library for one project. We made a controller named "test" where we could test the functions from our models. On the production site this controller was disabled. Over time, we stopped updating this test controller and now we're not using it anymore.

I'm not sure if it's the way this library is supposed to be used.
post some guide plz!!! i want learn good about unit test
This is something I would be interested in too.

I do my own thing and would like to know what the best practice is/should be.