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 15607 - 15636 of 24387   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
15607 Jon Skeet
jskeetuk Send Email
Dec 1, 2005
2:22 pm
I've just been writing some tests for my parameterisation classes, and I'm trying to verify that the right things are being logged. For a quick and dirty...
15608 Jeff Grigg
jeffgrigg63132 Send Email
Dec 1, 2005
4:52 pm
... Most often a test failure is due to changes made since the last clean run. Yesterday, however, we had a test fail, in Cruise Control, while neither the...
15609 Paolo "Nusco&quo...
paoloperrotta Send Email
Dec 1, 2005
5:01 pm
... This sounds like a good case for mocking up the system clock. See http://c2.com/cgi/wiki?VirtualClock. ... Paolo Perrotta Bologna, Italy...
15610 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:27 pm
... I think this is possible, but it won't provide a completion solution, thanks to reflection. -- J. B. (Joe) Rainsberger :: http://www.jbrains.info Your...
15611 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:27 pm
... <snip /> ... I wouldn't classify this test as fast, because it probably takes longer than 0.1 s to execute. I completely agree that without some kind of...
15612 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:27 pm
... Absolutely agreed, Robert. I don't claim that TestNG is bad because it supports integration and system testing. JUnit encouraging a certain style of...
15613 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:27 pm
... No... I think Ashcroft used to be called something else, but I can't remember what it was called. Maybe I'm wrong... -- J. B. (Joe) Rainsberger ::...
15614 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:27 pm
... I suppose it would be possible to discover test methods with parameters, then search for parameter sources. I wonder what that would look like... ... ...
15615 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:27 pm
... Everyone thinks I'm a little slow today. By the way, the "emptyList&quot; constant already exists: Collections.EMPTY_LIST. -- J. B. (Joe) Rainsberger ::...
15616 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:28 pm
... This is the same as creating a List and adding each url/error message to the List as you go. Then: assertEquals(Collections.EMPTY_LIST, failedUrls); If...
15617 J. B. Rainsberger
nails762 Send Email
Dec 1, 2005
5:28 pm
... When I suggest the Parameterized Test Case pattern, people say it's too complicated. This time, I suggest the "easy way" and someone tells me Parameterized...
15618 James Abley
taboozizi Send Email
Dec 1, 2005
10:25 pm
... Only since Java 5 though; some of us still have to produce code which works with earlier versions of Java! -- ... [Non-text portions of this message have...
15619 David Jackman
djackmanq Send Email
Dec 1, 2005
10:48 pm
Many wonderful things are in Java 5 that weren't available before. However, Collections.EMPTY_LIST is not one of those things. It's been around since 1.2 I...
15620 Robert Watkins
robertdw26 Send Email
Dec 2, 2005
12:39 am
... Collections.EMPTY_LIST was introduced in Java 1.2, along with the rest of the Collections API. Exactly how far back do you need to go? You may be thinking...
15621 Chris Dollin
anover_alias Send Email
Dec 2, 2005
7:52 am
... <fx:peek/> Gosh. I never knew that. And empty map and set, too. Thanks. Some code-hacking seems likely ... -- Chris "another virtual machine" Dollin ...
15622 J. B. Rainsberger
nails762 Send Email
Dec 2, 2005
9:04 pm
... I never suggested packages, Cedric. Separate source trees. Have you been thinking I was suggesting moving tests into different /packages/ all this time? I...
15623 Cédric Beust 
cbeust Send Email
Dec 2, 2005
10:34 pm
... Sorry, Joe, my mistake. I still think that using directories to emulate groups is not very optimal, though... -- Cédric http://testng.org [Non-text...
15624 Robert Watkins
robertdw26 Send Email
Dec 3, 2005
3:42 am
... *shrug* It works for me. I can see where it would break down if I felt a need to put one test into multiple groups, but I've never had that desire. -- ...
15625 Tony Gunter
tony_gunter Send Email
Dec 4, 2005
2:13 pm
Before I write my own "AssertThat," are there any plans to incorporate Joe Walnes' suggestion into JUnit in the future?...
15626 Rob Biedenharn
rab6687 Send Email
Dec 4, 2005
2:14 pm
... If the code had not changed "in months", can you give us more insight on the boundary condition. You must have passed the month boundary before -- is it...
15627 J. B. Rainsberger
nails762 Send Email
Dec 4, 2005
9:16 pm
... I don't speak for Kent, but my guess is that it won't be in JUnit, although I am looking at including it in something /else/... look for something in early...
15628 J. B. Rainsberger
nails762 Send Email
Dec 4, 2005
9:18 pm
... I thought perhaps there was some miscommunication there, but I could never put my finger on it. Perhaps that was it. ... If I only need one set of disjoint...
15629 James Abley
taboozizi Send Email
Dec 5, 2005
10:02 pm
... Kind of. I misread the javadoc in the source in the Eclipse editor. My mistake....
15630 Kent Beck
kentlbeck Send Email
Dec 6, 2005
6:22 pm
Tony, We have no plans to incorporate AssertThat in JUnit. I think it is an interesting idea, but I am not convinced that the additional expressive power is...
15631 roberto_lucente Send Email Dec 6, 2005
7:06 pm
I am a newbie. I also ran into the fact that JUNIT doesn't use the pathSeparator of Java. The details can be found at ...
15632 roberto_lucente Send Email Dec 6, 2005
7:13 pm
I had the same error. Like you, I found the problem to be in my classpath. The "/" vs "\" I think is due to the fact that Sun translated non- standard file...
15633 Tom Roche
tlroche Send Email
Dec 7, 2005
2:23 pm
Note that the following appears to be a partial transcript of the screencast @ http://www.eclipse.org/tptp/home/documents/tutorials/screencasts/tptpJunit.html ...
15634 johnlukar Send Email Dec 8, 2005
4:13 am
Is this possible ? My problem is that I have a Unit test that does performance benchmarking of a product. Each test method tests one aspect of the product....
15635 roberto_lucente Send Email Dec 8, 2005
4:13 am
"If you are very new to Java, then please search the web for a tutorial on how to set the CLASSPATH for a Java application" I am very new to Java. I executed...
15636 viveksaxena1975 Send Email Dec 8, 2005
4:15 am
I havnt yet started using Junit, I am just considering. I need to develop test suite based on Unix and I dont want to use IDE. is that OK ?...
Messages 15607 - 15636 of 24387   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