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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 21405 - 21434 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
21405
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...
Gilles Scokart
gscokart
Offline Send Email
Mar 2, 2009
12:22 am
21406
Hi, Can this be resolved? This file has a missing license: org/junit/internal/matchers/StringContains.java Thanks...
lanceosx
Offline Send Email
Mar 2, 2009
12:18 pm
21407
Sure. Please post a bug on Sourceforge: http://sourceforge.net/project/junit Thanks, David Saff ... [Non-text portions of this message have been removed]...
David Saff
dsaff
Offline Send Email
Mar 2, 2009
3:20 pm
21408
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...
kot_10_4
Offline Send Email
Mar 3, 2009
12:37 pm
21409
... Guessing but perhaps: http://www.greenpeppersoftware.com/en/products/greenpepper/features/ It seems like a FitNesse style plugin for confluence but I have ...
Paul King
paulk@...
Send Email
Mar 3, 2009
12:42 pm
21410
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...
Malte Finsterwalder
maltefinster...
Offline Send Email
Mar 3, 2009
12:47 pm
21411
... 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,...
Ilja Preuß
ipreussde
Offline Send Email
Mar 3, 2009
1:18 pm
21412
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...
Jeff
j_j_g_1_2_3
Offline Send Email
Mar 3, 2009
2:19 pm
21413
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)...
rognedaerzula
Offline Send Email
Mar 3, 2009
11:37 pm
21414
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...
Nat Pryce
nat_pryce
Offline Send Email
Mar 3, 2009
11:45 pm
21415
... 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...
Chris Dollin
anover_alias
Offline Send Email
Mar 4, 2009
12:02 pm
21416
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...
Maria Pavlova
rognedaerzula
Offline Send Email
Mar 4, 2009
10:46 pm
21417
... 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;...
J. B. Rainsberger
nails762
Offline Send Email
Mar 5, 2009
12:25 am
21418
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Mar 5, 2009
12:27 am
21419
It makes sense to use BeforeClass and AfterClass in integration tests when you need to initialize expensive resources such the spring context, hibernate...
Cenk Çivici
arkoftime
Offline Send Email
Mar 5, 2009
5:02 pm
21420
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Mar 8, 2009
12:53 am
21421
With JUnit4, we can have parameterized tests with @RunWith(value = Parameterized.class) and @Parameters, But in any JUnit reporting interface(UI, xml and its...
anfernee_xu
Offline Send Email
Mar 9, 2009
11:44 am
21422
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...
David Saff
dsaff
Offline Send Email
Mar 9, 2009
1:49 pm
21423
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...
David Saff
dsaff
Offline Send Email
Mar 9, 2009
1:50 pm
21424
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...
rsgmxw
Offline Send Email
Mar 11, 2009
2:19 am
21425
... 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...
anfernee_xu
Offline Send Email
Mar 11, 2009
2:19 am
21426
I think that if you used your own custom version of assertThat, you could make some very nice logs. Good luck, David Saff...
David Saff
dsaff
Offline Send Email
Mar 11, 2009
2:21 am
21427
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...
kentb
kentlbeck
Offline Send Email
Mar 11, 2009
3:03 pm
21428
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"...
Gilles Scokart
gscokart
Offline Send Email
Mar 11, 2009
10:08 pm
21429
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...
kentb
kentlbeck
Offline Send Email
Mar 12, 2009
1:43 pm
21430
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...
David Saff
dsaff
Offline Send Email
Mar 12, 2009
2:06 pm
21431
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...
Charlie Poole
cpoole98370
Offline Send Email
Mar 12, 2009
9:47 pm
21432
Greetings, We (Ewan Tempero, University of Auckland, New Zealand, and Tony Gorscheck, Blekinge Institute of Technology, Sweden) are looking for software ...
Dirk Riehle
dirkriehle
Offline Send Email
Mar 15, 2009
11:42 pm
21433
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...
tuomaskarkkainenri
tuomaskarkka...
Offline Send Email
Mar 16, 2009
4:32 pm
21434
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...
idan72
ishai@...
Send Email
Mar 16, 2009
11:28 pm
Messages 21405 - 21434 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