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: 31224
  • 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 20512 - 20541 of 24384   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
20512 idan72
ishai@... Send Email
Jun 2, 2008
2:58 pm
Hi, I have test's written in junit4 that run using JUnitTestRunner. I want to add listener that will be called in start and end of each test and also before...
20513 Nattapong Sirilappanich
nat_tul Send Email
Jun 4, 2008
9:52 am
Hi, When i try to make an assertion on Number object, e.g. Double the result always assertion successful. Even i try to compare by...
20514 J. B. Rainsberger
nails762 Send Email
Jun 4, 2008
2:34 pm
... Weird. assertEquals() appears only to compare the whole parts. public class DoubleTest { @Test public void unequalDoubleValueObjectsShouldBeUnequal() { ...
20515 nagendra.raja Send Email Jun 4, 2008
10:22 pm
Hi, Would it be possible to have Assert.fail(message, exception) method in future version of the junit. I see this to be very critical for methods failing and...
20516 Nattapong Sirilappanich
nat_tul Send Email
Jun 5, 2008
9:10 am
Hi, I forgot to mention the version number of JUnit. I'm using JUnit 4.3.1 which is part of Eclipse 3.3.2 Best regards, Nattapong Sirilappanich Engineer,...
20517 idan72
ishai@... Send Email
Jun 5, 2008
11:21 am
Hi, I am running junit4 using ant (1.7.0). How Can I add a listener to junit from ant? Thanks -- View this message in context:...
20518 Roger Glover
glover_roger Send Email
Jun 5, 2008
10:32 pm
... Would it be possible to have Assert.fail(message, exception) method in future version of the junit. I see this to be very critical for methods failing and...
20519 Roger Glover
glover_roger Send Email
Jun 5, 2008
10:33 pm
... wrote: On Jun 3, 2008, at 22:41 , Nattapong Sirilappanich wrote: Hi, When i try to make an assertion on Number object, e.g. Double the result always...
20520 Nattapong Sirilappanich
nat_tul Send Email
Jun 6, 2008
11:24 am
Actually, my point here is i'm expecting org.junit.Assert.assertEquals(Object obj1, Object obj2) to call its obj1.equals(obj2) or something like this. However,...
20521 Roger Glover
glover_roger Send Email
Jun 6, 2008
11:25 am
Sorry about how hosed my last message looked. I used the new "Rich Text Editor (Beta)", which apparently did not play nicely with whatever the moderator was...
20522 Roger Glover
glover_roger Send Email
Jun 6, 2008
10:02 pm
... As I stated, albeit not very clearly the first time (Curse you "Rich Text Editor(Beta)"!), I suspect that the culprit here is that ...
20523 J. B. Rainsberger
nails762 Send Email
Jun 7, 2008
12:40 am
... That's almost certainly what is happening, and good deduction. Now we ask the question, what's the better answer? Defeat the purpose of ...
20524 Nishant Karve
mystudygroup Send Email
Jun 7, 2008
1:58 pm
Hi Experts, I am new to JUnit. However I have configured and written some simple use cases. Could anybody please tell me how can I write test case for method...
20525 Simon Chappell
spchappell Send Email
Jun 7, 2008
2:04 pm
It's time for a little reminder of some of the finer points of JUnit mailing list etiquette. This will be posted now and then; not often enough to be spam, but...
20526 Simon Chappell
spchappell Send Email
Jun 7, 2008
2:11 pm
... Please consider reading the JUnit FAQ document. It contains many very useful examples and techniques. For example, the there is a section just about...
20527 Roger Glover
glover_roger Send Email
Jun 8, 2008
9:15 am
... Thank you very much! ... Well if that is the best solution (and I must say that I like it better than the status quo) then the easiest way to do that would...
20528 Chris Dollin
anover_alias Send Email
Jun 9, 2008
7:52 am
... If the method /does/ something (once hopes so), test for that something. ... I'd pour the iterator contents into a list and test the list. Don't we have a...
20529 Kent Beck
kentlbeck Send Email
Jun 9, 2008
4:46 pm
Nattapong, The situation is confusing. AssertEquals() started out just using equals(). Then people were surprised by this behavior for a variety of special...
20530 Kent Beck
kentlbeck Send Email
Jun 9, 2008
4:46 pm
Roger, This is the solution we came to for 4.5. Interested parties can preview it by checking out the current working version from CVS. Regards, Kent Beck ...
20531 Phil Surette
PhilSurette Send Email
Jun 9, 2008
6:15 pm
I'd like to make a case for adding logging of assertions into junit. I've been using junit for many years, and something that I've found both for myself and...
20532 nat_tul Send Email Jun 9, 2008
6:16 pm
... I'm agree with this choice. Since it's not preferred to be used with Double so some Exception should be threw. ... Nattapong Sirilappanich Engineer,...
20533 J. B. Rainsberger
nails762 Send Email
Jun 9, 2008
10:30 pm
... I am just going to be frank here. Yes, many people have said they want to log assertions in tests because they want the warm fuzzy feedback that their...
20534 Cédric Beust 
cbeust Send Email
Jun 9, 2008
10:56 pm
Hi J.B, I think the original poster wants a log of all the assertions that are being run. Whether the tests are simple (one assertion per test) or complex is...
20535 Kent Beck
kentlbeck Send Email
Jun 9, 2008
10:57 pm
Dear Phil, Thank you for the clear case for logging assertions. This feature has been "on the list" for at least eight of the ten years JUnit has been in ...
20536 J. B. Rainsberger
nails762 Send Email
Jun 10, 2008
12:39 am
... I understand what the original poster wants, and I believe the issues are related. I thought I made that clear in my message. ... I understand that. I have...
20537 Robert Wenner
robertwenner Send Email
Jun 10, 2008
12:51 am
... Actually, to me this defeats the purpose of JUnit. I want a simple green or red result. If I have to go through umpteen thousand lines of log, I may as...
20538 Cédric Beust 
cbeust Send Email
Jun 10, 2008
2:16 am
... That's quite puzzling. I can't see how the existence of this feature could ever prevent a developer from writing tests. Again, these are very orthogonal...
20539 Cédric Beust 
cbeust Send Email
Jun 10, 2008
2:18 am
... Nobody says you have to, but the fact that your tests pass doesn't guarantee that you are testing what you think you are testing. Which is why reports are...
20540 Robert Wenner
robertwenner Send Email
Jun 10, 2008
3:34 am
... Well. If the log is important, I have to go through it, or I miss something important. If it is not important (and I don't have to go through it) I can...
20541 Cédric Beust 
cbeust Send Email
Jun 10, 2008
3:57 am
... It's the definition of a log: most of the time, you don't need it, but it's handy if you need to double check something after your tests have run. ... Not...
Messages 20512 - 20541 of 24384   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