Solved

How to write Unit testing for JSF

Posted on 2009-07-14
1
1,165 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 500 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
Viewers will learn how to use the Hootsuite Dashboard.

705 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