[eluser]SPeed_FANat1c[/eluser]
Hi, I am also new to unit testing and want to learn it. I tried the testing as written in documentation and it works ok. But still don't know how am I using it in practice.
Do we have to put testing functions in the same file? Lets say I create few models and then I have to put all testing functions for each model?
Ok, with models there is less problem - I can have one controller for testing and then load those models in it and test them all using one controller function.
But then what about controllers? I cannot have one controller where I could test all controllers, right? So I have to test each controller file seperately?
I assume testing is to about to make it all automatically so it should be somehow made that I run one function and it test the entire application.