gudii9
asked on
unit testing in java and jsfunit
Hi,
I was going through below link
http://java.dzone.com/articles/junit-tutorial-beginners
I wonder where i can find info on comparing complex objects and unit testing them not simple arthematic operations.
I am also new to jsfunit where to begin and find good resources on that.
Please advise. Any ideas, resources, sample code highly appreciated. thanks in advance
I was going through below link
http://java.dzone.com/articles/junit-tutorial-beginners
I wonder where i can find info on comparing complex objects and unit testing them not simple arthematic operations.
I am also new to jsfunit where to begin and find good resources on that.
Please advise. Any ideas, resources, sample code highly appreciated. thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
jsfunit is just a library for making the testing of JSF applications easier (JSF = JavaServer Faces). If your application isn't JSF or you don't know what this is, then you don't need to worry about jsfunit.
ASKER
my application is in JSF 2.0. The challenge i am facing in writing the unit test cases is when i click one button in say xyz.xhtml it is going to other page say abc.xhtml. I need to validate few pages in abc.xhtml to make sure the drop down values, text values are coming as expeted. I do not know how to write test case in this scenario.
I see some examples here
https://source.jboss.org/browse/JSFUnit/trunk/jboss-jsfunit-examples
but not sure how to download and run eclipse in one stroke.
I see couple of example here but not clear exactly what authors did.
http://www.mastertheboss.com/jsf/jsfunit-tutorial
http://www.javabeat.net/introduction-to-jsfunit/
i tried to download podcat from here but link seems not working
http://www.jsfcentral.com/articles/silvert-08-09.html
please advise
I see some examples here
https://source.jboss.org/browse/JSFUnit/trunk/jboss-jsfunit-examples
but not sure how to download and run eclipse in one stroke.
I see couple of example here but not clear exactly what authors did.
http://www.mastertheboss.com/jsf/jsfunit-tutorial
http://www.javabeat.net/introduction-to-jsfunit/
i tried to download podcat from here but link seems not working
http://www.jsfcentral.com/articles/silvert-08-09.html
please advise
ASKER
One possibility is that your complex object implements the .equals() method in an appropriate manner,
what it means.
Please advise
ASKER
What is JSFUNIT, what for it is used. I never used it. Is it simple to master. Please advise.