Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 31225
  • Category: Java
  • Founded: Nov 6, 2000
  • Language: English
? 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.

Messages

Advanced
Messages Help
Messages 21405 - 21434 of 24405   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
21405 Gilles Scokart
gscokart Send Email
Mar 2, 2009
12:22 am
Typically in junit 3.8, you have to write a subclass of TestCase where you can overwrite some methods. The test classes will then have to extend your class...
21406 lanceosx Send Email Mar 2, 2009
12:18 pm
Hi, Can this be resolved? This file has a missing license: org/junit/internal/matchers/StringContains.java Thanks...
21407 David Saff
dsaff Send Email
Mar 2, 2009
3:20 pm
Sure. Please post a bug on Sourceforge: http://sourceforge.net/project/junit Thanks, David Saff ... [Non-text portions of this message have been removed]...
21408 kot_10_4 Send Email Mar 3, 2009
12:37 pm
It would be way more useful if this annotation could be applied to a non-static method. The same could be said for @BeforeClass but at least you can put code...
21409 Paul King
paulk@... Send Email
Mar 3, 2009
12:42 pm
... Guessing but perhaps: http://www.greenpeppersoftware.com/en/products/greenpepper/features/ It seems like a FitNesse style plugin for confluence but I have ...
21410 Malte Finsterwalder
maltefinster... Send Email
Mar 3, 2009
12:47 pm
The example in the doc is wrong, but the error is, that the field is not definied static. You want to share the same object across multiple test-objects. There...
21411 Ilja Preuß
ipreussde Send Email
Mar 3, 2009
1:18 pm
... Stuff that you put in the constructor gets executed for every test method in your class. So, it's much more like @Before than like @BeforeClass. Take care,...
21412 Jeff
j_j_g_1_2_3 Send Email
Mar 3, 2009
2:19 pm
Nope Confluence. They have a "jUnit macro" that will embed a summary of tests in a wiki page. I am trying to get something a bit more comprehensive, such as a...
21413 rognedaerzula Send Email Mar 3, 2009
11:37 pm
Hi Everyone, can anyone tell me how to assert equality of two objects such as array of bytes or Files in junit 3.8.1? using Assert.assertEquals(File1, File2)...
21414 Nat Pryce
nat_pryce Send Email
Mar 3, 2009
11:45 pm
We use confluence, but not to track test results. We just run the tests in Team City and generate reports. Any build artefacts (including test reports) are...
21415 Chris Dollin
anover_alias Send Email
Mar 4, 2009
12:02 pm
... It does, but to do so it uses the objects .equals() method (how else?), so it requires that that method do something sensible. If it doesn't, you'll...
21416 Maria Pavlova
rognedaerzula Send Email
Mar 4, 2009
10:46 pm
ok, thank s! To: junit@yahoogroups.com From: chris.dollin@... Date: Wed, 4 Mar 2009 12:03:50 +0000 Subject: Re: [junit] Asserting object equality in junit...
21417 J. B. Rainsberger
nails762 Send Email
Mar 5, 2009
12:25 am
... It would also violate the basics of good design and test isolation. I would never want something shared across multiple objects that was instance-level;...
21418 J. B. Rainsberger
nails762 Send Email
Mar 5, 2009
12:27 am
... Also, don't compare File objects for equality, because that's ambiguous. Do you want to compare file basenames? or file paths? or file contents? The first...
21419 Cenk Çivici
arkoftime Send Email
Mar 5, 2009
5:02 pm
It makes sense to use BeforeClass and AfterClass in integration tests when you need to initialize expensive resources such the spring context, hibernate...
21420 J. B. Rainsberger
nails762 Send Email
Mar 8, 2009
12:53 am
... I agree. No reason those fields have to be instance-level. If multiple instances of tests plan to share them, then, by definition, they ought to be...
21421 anfernee_xu Send Email Mar 9, 2009
11:44 am
With JUnit4, we can have parameterized tests with @RunWith(value = Parameterized.class) and @Parameters, But in any JUnit reporting interface(UI, xml and its...
21422 David Saff
dsaff Send Email
Mar 9, 2009
1:49 pm
Anfernee, There is currently no such API, but it's a very popular feature request. I'll take a stab at it soon. David Saff...
21423 David Saff
dsaff Send Email
Mar 9, 2009
1:50 pm
Anfernee, Can you check the feature requests at http://sourceforge.net/projects/junit/ and make sure that there's one there for what you want? Thanks, David...
21424 rsgmxw Send Email Mar 11, 2009
2:19 am
One thing about the "logging of assertions" is reporting on the Actual/Observed results. I work at a company that makes Medical Devices. The FDA, as we're told...
21425 anfernee_xu Send Email Mar 11, 2009
2:19 am
... Hi David, I checked the request tracker page, http://sourceforge.net/tracker/index.php?func=detail&aid=1742040&group_id=15278&atid=365278 is similar to...
21426 David Saff
dsaff Send Email
Mar 11, 2009
2:21 am
I think that if you used your own custom version of assertThat, you could make some very nice logs. Good luck, David Saff...
21427 kentb
kentlbeck Send Email
Mar 11, 2009
3:03 pm
I haven't ever worked on an FDA-certified project, so this is just idle curiousity, but would they require a log for every test ever run? With JUnit Max I run...
21428 Gilles Scokart
gscokart Send Email
Mar 11, 2009
10:08 pm
I was about to ask if it wouldn't it be suffisent to have a report with only Pass/Failure stored with the sources of the test (without which "Smith" = "Smith"...
21429 kentb
kentlbeck Send Email
Mar 12, 2009
1:43 pm
Tuomas, I apologize for the long delay in replying. I was just avoiding conflict, which isn't fair to you. I still see the API you suggest as too "magical" for...
21430 David Saff
dsaff Send Email
Mar 12, 2009
2:06 pm
If anyone has direct experience on the FDA requirement in question, and it's direct application to unit testing, I'd certainly love to hear more. David Saff...
21431 Charlie Poole
cpoole98370 Send Email
Mar 12, 2009
9:47 pm
Hi David, FDA requirements vary from project to project but for the Software development parts, they come down to outlining the process you will follow and...
21432 Dirk Riehle
dirkriehle Send Email
Mar 15, 2009
11:42 pm
Greetings, We (Ewan Tempero, University of Auckland, New Zealand, and Tony Gorscheck, Blekinge Institute of Technology, Sweden) are looking for software ...
21433 tuomaskarkkainenri
tuomaskarkka... Send Email
Mar 16, 2009
4:32 pm
Kent, I appreciate your reply. We currently have a copy of AnnotatedBuilder in JDave, and are relying on classpath ordering to load our copy before JUnit's...
21434 idan72
ishai@... Send Email
Mar 16, 2009
11:28 pm
Hi, Is there going to be listener that support @BeforeClass and @AfterClass ? I was able to implement this but for doing so I was need to override the junit...
Messages 21405 - 21434 of 24405   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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