Hi, I am facing a strange problem while implementing JCoverage for one of the projects. I have done this successfully in the past for other projects. Any help...
Hi all, question: is there a reason that fail() produces an AssertionError with message "null" -- i had expected null (you know: getMessage() == null rather ...
Hi Rain, I have few questions. Can junit test ejb's without any sort of extensions like cactus or junitee or etc. Can JUnit test Ejb's on IBMWebsphere. please...
I have a test with a @Before method that is throwing an exception. The exception is caught by the BeforeAndAfterRunner which invokes addFailure executing...
Hi, can you help me in testing enterprise java beans with junit. Can tell me what are the necessary jars requires. Can we run ejbs with junit test runner or...
Hello, I am new to Junit, I'm starting with Junit 4. I wanted to define an abstract base class establishing required steps for a test, but I see that methods...
Hi, Can I get sample example unit testing a jsp? Thanks & Regards, Tejal Khatri HCL Technologies,Gurgaon 9811687996 Disclaimer: This message and any...
Hi Friends, I am unit testing a servlet using cactus. Everything is set( all required files), but tomcat gives me a warning, as follows. log4j:WARN No...
I am trying to resolve an issue that occures periodically with my builds. For some reason I am getting a PMG file returned... This is the error: Test:...
I have a class Manager.java that's to be unit tested. In the TestManager class public class TestManager extends TestCase{ Manager mgr = null; public...
I have seen people skating around this issue but nobody seems to be answering the question or maybe I just missed it - I did search the archives and I see the...
I am trying to implement an assertion that does a deep equals of two POJOs vs. using the POJOs' equals methods like assertEquals(Object, Object). The code is...
hi folks, when i run this test case on ibmwebserver i am getting error.I am getting the same error since 4days please help me package com.ibm.ejb; import...
Hi Friends, Can we unit test a java bean (not ejb) deployed on application server? Thanks in advance. Best Regards, Tejal ... From: junit@yahoogroups.com...
In one example I tried was a fairly simple piece of business logic. I needed to write some tests around a user belonging to a group. I needed at a minimum an...
The purpose for which I am using JUnit is slightly different. I am using a Code Analyser(CAP)-to analyse the source code of the JUnit project. I downloaded...
The method SimpleTestCollector.isTestClass(String classFileName) is implemented faulty: This is the implementation of junit 3.8.1: protected boolean...
Hi, I am new to junit and I have to unit test a few methods of a class. Out of those one of the methods is login method. I have undergone many examples in...
150 SCJP Questions And Answers I have listed over 150 SCJP Questions And Answers in my website http://www.geocities.com/online_java_certification/ So please...
Hello JUnit-Group, We would like to invite developers to participate in a survey about unit testing and test-driven development. We are students from the Freie...
I have been give around 160 separate httpunit test files, instead of listing them one line at a time. Is there a way I can grab them from the package directory...
Hi, I am new to JUnit tool. All i understand from the web sites that is available on JUnit is, it is unit testing tool. Actually we are using Rational...
Hi, I have a superclass that implements a @BeforClass method. As I tryed to run the subclass test, all the setup stuff was OK, but then came this exception...
Hello, I am currently updating my test cases written in Junit 3.8.1 to 4.1. As you can guess my test case class extended the TestCase class and therefore I had...
I am new to Junit. Can any one explain me from starting. What is Junit. How it is Used. What is the use of it. Thanks kiran ... Ring'em or ping'em. Make...
Am I missing something??? I can't find junit.swingui in the JUnit source. I just downloaded junit-4.0. Is junit.swingui part of an version or something? I...
Hi all, currently i try to substitute for the junit3.x gui. to this end i have to implement org.junit.runner.notification.RunListener I think it would be...