Could someone help me how to externalize the testdata used by the testcases...
Or could you direct me to some sample format to do so......
Thankyou
Hey Guys,
I have recently started using TDD and I faced the problem of testing private methods. I did some research and I came up with a pretty interesting solution. I wrote an article about this solution, so I thought that I'd share it with you.
Here is the link:
http://www.khussein.com/wordpress/?p=38
Please, share your thoughts!
Thanks,
Khaled
i write a testcase for my jsp file using HttpUnit
that show the following errors:
com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 Internal Error [http://localhost:8080/jsp/main.jsp
How can i get the response from the server using getResponse()
Experts,
I need some pointers on the testing abstract methods & interfaces using JUNIT.
Thanks in advance,
Raj
I have a maven project where I have, under the src/test/java tree, a class called server.common.ServerTestBase that serves as a base classfor other test classes.
For some reason this class is not found during test execution using "mvn test". Any idea what could cause this? The compiled class is under the target/test/classes.
TIA for your help
java.lang.NoClassDefFoundError: server.common.ServerTestBase
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
i have a method by name as
generateResponseDocs(fileLocationVO) where fileLocationVO is the instance of class FileLocationVO class used in the same package.
if i want to test this method with junit .
pls guide me as to what value should i pass it as hardcoded value for that object.
Thanks,
kachabi
FEST-Swing is a Java library that provides a DSL-oriented, fluent interface for functional Swing GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests simple and easy.
Feature overview:
Will always be available here. Please review these before asking a question in the forum.