Solved

How to write Unit testing for JSF

Posted on 2009-07-14
1
1,156 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
1 Comment
 
LVL 20

Accepted Solution

by:
a_b earned 500 total points
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
This video shows how use content aware, what it’s used for, and when to use it over other tools.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now