Prim
Prim

Reputation: 1364

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!

Upvotes: 9

Views: 5678

Answers (4)

duffymo
duffymo

Reputation: 308998

What you're talking about is "integration testing."

"Unit testing" is for proving the correct operation of individual components.

You can use SOAP UI to test SOAP-based web services.

You can automate testing of HTML user interfaces using Selenium UI.

Use JUnit for unit testing Java components, NUnit for .NET, etc.

Upvotes: 1

emboss
emboss

Reputation: 39650

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.

Upvotes: 5

DoubleMalt
DoubleMalt

Reputation: 1283

You should do unit testing for individual backing beans, an behavioural testing with something like Fitnesse

Upvotes: 1

S.Lott
S.Lott

Reputation: 392012

Selenium http://seleniumhq.org/

Upvotes: 3

Related Questions