Kent, Thanks for the reply. Would you consider adding something like this in JUnit 4 so it is there if someone like me needs it someday? I'd need to get this...
JUnit goes to great lengths to make tests independent of each other. Possibly this makes it more thread safe as well. Has anyone considered or written a...
Elliotte Harold
elharo@...
Jul 4, 2005 6:06 pm
14073
Hi,
Any ideas when is the jnit version 4.0 is to be released.
Further ,has anyone used anotations feature of jdk1.5.
Can anybody guide me about it
> Anjali...
Hi I am working on junit for last couple of months. I want a changed excluded.properties file to be used with junit. I tried to do it but i could'nt make it...
if setUp fails tearDown is not called if setUp acquire resources, and fails during one, cleanup code must be both called in setUp & tearDown wouldn't junit...
Hi, I am running junit tests through a java program. is there a way to generate reports also using a java program identical to the reports generated via ant...
... There is a copy of excluded.properties in junit.jar, so either (1) edit that one, or (2) delete it from the .jar and include your own through the...
... No, the default JUnit test runner doesn't do this. JUnit addons' test runner does, however. See junit-addons.sourceforge.net. One question: what's the...
... Ant generates that report with XSLT. The XSL stylesheets Ant uses are included in the ant-junit.jar, so you could apply that stylesheet yourself. To get...
... If they have, I've never seen it. I've only seen MTUnit for testing multithreaded code and the ActiveTestSuite extension for multithreaded tests. Maybe...
Hi, all. I have a testing scenario I need help with. The application I am working on has a class called AppProperties. This class has a lot of static methods...
My management is asking me for this too, is this something that would be easy to add to junitreport? Raj ... own ... and ... just ... error ... and ... suite...
... The AppProperties methods could use a private static member to do the detailed work. And then you could use MockObject, during testing, to control the...
Thanks for the reply, Jeff. I was looking at Spring a little today and noticed they had a PropertiesFactoryBean. If I can convince my managers to let me use...
Hello EveryBody: I am using Cactus to testing my servlet application, and I fill the the result of testing is hard to understand, because you have to see the...
Hi, I am invoking junit tests programmatically. Gotto generate the reports as well. For that purpose I have added XMLJUnitResultFormatter (from ant-junit) as a...
... Yes. I always use the assertX() calls that take an error message string as the first argument. This is especially true for assertTrue() and assertFalse(),...
Jose, I think it's already there. Have you looked at (for example) the following method in junit.framework.Assert: static public void assertTrue(String...
... Thanks. That seems like exactly what I was looking for. In my case it sped things up a little, but not a lot. More importantly, several of the tests failed...
Elliotte Harold
elharo@...
Jul 7, 2005 2:59 pm
14093
hello, i m using cactus for testing servelt...i had one excute method in i which i pass HttpServletRequest and HttpServletResponse as parameter so how can i...
hello, is any body knw how can i add time and date in cactus report of test case? Thanks and regards Tushar... [Non-text portions of this message have been...
Hello friends... iam back again...iam new to junit and java...i want to know where we use Protectable interface. any simple exmaple is useful for me. thanks in...
Srihari, TestSetup is a good example of a TestDecorator. It performs setup before a suite of tests runs, and then tears down when the suite is done. Good luck...
You've probably been using decorators without even knowing about it. RepeatedTest is an example of one which wraps a test and runs it a number of times, and...
... I don't much like the Monostate you have there. Even a true Singleton would be a little better than all those class-level method invocations. Injecting the...