开发者

Classification of Unit Testing

开发者 https://www.devze.com 2023-01-19 06:37 出处:网络
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?

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

  • Web Apps are better tested with this tools.
  • For Swing and SWT are also specialized tools available.

For DB-testing you might want to check DBUnit

Open-source Testing Tools

0

精彩评论

暂无评论...
验证码 换一张
取 消