Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to write Unit testing for JSF

Posted on 2009-07-14
1
Medium Priority
?
1,170 Views
Last Modified: 2013-12-13
I have a simple JSF Login page which hits the database and compare with the user inputs and send's to appropriate page showing Success/Failure, How to write a Unit test for this Application.
Using Netbeans6.5, Tomcat 6.0,

Would like to prefer Junit.
Any sample code or a link which will show the configuration in Netbeans would be great.

Thanks
0
Comment
Question by:anil7734
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
a_b earned 2000 total points
ID: 24851793
Since you need to test a webpage you might be better off writing test cases in httpunit. You can automate clicks and data entry through that. Junit is only useful if you want to do unit test at the code level.
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
Curious about the latest ransomware attack? Check out our timeline of events surrounding the spread of this new virus along with tips on how to mitigate the damage.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question