Assume I have built a MVC web apps written using Java.
Now I want to write unit tests for the web apps, what kind of unit testings should be done for a normal mvc web apps?
- model testing
- controller testing
- ui testing
- db testing
any more?
Assume I have built a MVC web apps written using Java.
Now I want to write unit tests for the web apps, what kind of unit testings should be done for a normal mvc web apps?
any more?
I would say you should write unit tests for all (model,controller,db) but UI-testing which is considered as integration test
For DB-testing you might want to check DBUnit