Welcome Guest, Not a member yet? Register   Sign In
Intended use of the Unit Testing built in to CI
#3

[eluser]Tominator[/eluser]
Hi man!

I really don't understant what you want to hear.

This is principe:
You probably make function, then test it by echoing return, then check if its the same as it should be, and if is, then you continue with your work.

Problems:
There might be an error, which you didn't found. When error appear, you have to retest whole class.

Solution:
Set unit testers into your functions, models, libraries, controllers and when something goes wrong, just start debuging and you easily find the error.

There is (as you said) lot of modifications and versions of Unit testing class, every got it from another angle, so you have to choose which is fine for you. I'm using CI's one with no problems.


Messages In This Thread
Intended use of the Unit Testing built in to CI - by El Forum - 11-09-2010, 08:34 PM
Intended use of the Unit Testing built in to CI - by El Forum - 11-11-2010, 09:38 AM
Intended use of the Unit Testing built in to CI - by El Forum - 11-11-2010, 01:01 PM
Intended use of the Unit Testing built in to CI - by El Forum - 11-11-2010, 01:37 PM
Intended use of the Unit Testing built in to CI - by El Forum - 11-11-2010, 03:51 PM
Intended use of the Unit Testing built in to CI - by El Forum - 11-11-2010, 06:26 PM
Intended use of the Unit Testing built in to CI - by El Forum - 11-12-2010, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB