Search the web
Sign In
New User? Sign Up
junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 14071 - 14100 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
14071
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...
Teemu Kanstrén
kibaltsis
Offline Send Email
Jul 4, 2005
5:46 pm
14072
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@...
Send Email
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...
Anjali_Jain01
anjali_0503
Offline Send Email
Jul 4, 2005
6:42 pm
14074
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...
Sid
zsadal
Offline Send Email
Jul 4, 2005
6:42 pm
14075
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...
thierryhenrio
Offline Send Email
Jul 4, 2005
6:43 pm
14076
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...
Yogesh
talk_2_yogi
Offline Send Email
Jul 4, 2005
6:43 pm
14077
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Jul 4, 2005
8:06 pm
14078
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Jul 4, 2005
8:06 pm
14079
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Jul 4, 2005
8:08 pm
14080
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Jul 4, 2005
8:10 pm
14081
Have you already looked at using an ActiveTestSuite instead of a TestSuite? It sped up our unit test execution time by tons. Todd. ...
Bradley, Todd
todd404
Offline Send Email
Jul 5, 2005
2:59 pm
14082
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...
Michael
mkoss917
Offline Send Email
Jul 5, 2005
6:11 pm
14083
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...
Rajesh Patel
cool_raj
Offline Send Email
Jul 5, 2005
6:31 pm
14084
... It is possible, but not trivial. And the junit task is probably one of the most complex beasts here. Another option might be adding Ant's...
Stefan Bodewig
sbodewig
Offline Send Email
Jul 5, 2005
8:06 pm
14085
... 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...
Jeff Grigg
jeffgrigg63132
Offline Send Email
Jul 6, 2005
12:34 am
14086
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...
Michael
mkoss917
Offline Send Email
Jul 6, 2005
1:38 am
14087
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...
joneira44
Offline Send Email
Jul 6, 2005
2:21 pm
14088
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...
Yogesh Seth
talk_2_yogi
Offline Send Email
Jul 6, 2005
2:21 pm
14089
... 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(),...
jason r tibbetts
tibbettj_at_...
Offline Send Email
Jul 6, 2005
2:49 pm
14090
... Thanks a million for pointing that out. I'd never noticed it before, and you're right--it sped things up considerably....
jason r tibbetts
tibbettj_at_...
Offline Send Email
Jul 6, 2005
2:50 pm
14091
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...
David Saff
dsaff
Offline Send Email
Jul 6, 2005
6:18 pm
14092
... 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@...
Send Email
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...
..TuShaR..
tvlaad
Offline Send Email
Jul 8, 2005
7:46 am
14094
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...
..TuShaR..
tvlaad
Offline Send Email
Jul 8, 2005
7:47 am
14095
Hello All, Tomorrow i have a presentation to give on JUnit. So kindly help me with some doubts. i need a description on how to use TestDecorator...
venkata srihari
nvshari_11
Offline Send Email
Jul 8, 2005
7:48 am
14096
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...
venkata srihari
nvshari_11
Offline Send Email
Jul 8, 2005
7:49 am
14097
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...
David Saff
dsaff
Offline Send Email
Jul 8, 2005
8:24 am
14098
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...
jason r tibbetts
tibbettj_at_...
Offline Send Email
Jul 8, 2005
2:49 pm
14099
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Jul 8, 2005
8:42 pm
14100
... Excellent. Look at me: I'm a threading expert! -- J. B. (Joe) Rainsberger Diaspar Software Services http://www.diasparsoftware.com Author, JUnit Recipes:...
J. B. Rainsberger
nails762
Offline Send Email
Jul 8, 2005
8:45 pm
Messages 14071 - 14100 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help