Welcome Guest, Not a member yet? Register   Sign In
How do you use the Unit Testing LIbrary?
#1

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? 
Reply
#2

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.
Reply
#3

post some guide plz!!! i want learn good about unit test
TryHarding all Day....
Reply
#4

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB