测试Web应用程序 [英] testing a web application

查看:102
本文介绍了测试Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名学生,我开发了一个基于JSP的Web应用程序。现在我的教授建议我应该为我的网络应用程序做一些单元测试等测试。
任何人都可以建议我可以用什么其他测试来证明我的应用程序的性能。
以及我可以学习如何进行单元测试的任何好资源,因为我以前从未做过任何测试。

I am a student and I have developed a web application based on JSP. Now my professor has suggested that i should do some tests like unit test etc for my web application. Can anybody suggest what other test can I use to demonstrate the performance of my application. And also any good resource from where I can study how to do unit testing, as I have never done any testing before.

谢谢!

推荐答案

Selenium 是一个受欢迎的框架用于客户端单元测试(即在网页上自动化客户端输入)。该网站还有很多介绍性材料。

Selenium is a popular framework for client-side unit tests (i.e. automating client input on a web page). The site also has a lot of introductory material.

为了测试服务器端的东西,好的,旧的JUnit就足够了 - 它集成在所有主要的IDE中。

For testing the server-side stuff the good, old JUnit will suffice - it's integrated in all major IDEs.

您应该查看Kent Beck的测试驱动开发,虽然测试驱动开发不仅仅是常规单元测试,但本书将启发你(我打赌),你也会编写更好的单元测试。

You should look into Kent Beck's Test-driven Development, although Test-Driven development is more than regular unit testing, this book will enlighten you (I bet) and you will write way better unit tests, too.

这篇关于测试Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆