Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

testing a web application

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.

Thanks!

like image 716
Prim Avatar asked Jul 29 '11 00:07

Prim


1 Answers

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.

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

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.

like image 56
emboss Avatar answered Sep 29 '22 03:09

emboss