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 15607 - 15636 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
15607
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...
Jon Skeet
jskeetuk
Offline Send Email
Dec 1, 2005
2:22 pm
15608
... 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...
Jeff Grigg
jeffgrigg63132
Offline Send Email
Dec 1, 2005
4:52 pm
15609
... This sounds like a good case for mocking up the system clock. See http://c2.com/cgi/wiki?VirtualClock. ... Paolo Perrotta Bologna, Italy...
Paolo "Nusco" Perrotta
paoloperrotta
Offline Send Email
Dec 1, 2005
5:01 pm
15610
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:27 pm
15611
... <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...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:27 pm
15612
... Absolutely agreed, Robert. I don't claim that TestNG is bad because it supports integration and system testing. JUnit encouraging a certain style of...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:27 pm
15613
... 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 ::...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:27 pm
15614
... I suppose it would be possible to discover test methods with parameters, then search for parameter sources. I wonder what that would look like... ... ...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:27 pm
15615
... Everyone thinks I'm a little slow today. By the way, the "emptyList" constant already exists: Collections.EMPTY_LIST. -- J. B. (Joe) Rainsberger ::...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:27 pm
15616
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:28 pm
15617
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Dec 1, 2005
5:28 pm
15618
... 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...
James Abley
taboozizi
Offline Send Email
Dec 1, 2005
10:25 pm
15619
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...
David Jackman
djackmanq
Offline Send Email
Dec 1, 2005
10:48 pm
15620
... 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...
Robert Watkins
robertdw26
Offline Send Email
Dec 2, 2005
12:39 am
15621
... <fx:peek/> Gosh. I never knew that. And empty map and set, too. Thanks. Some code-hacking seems likely ... -- Chris "another virtual machine" Dollin ...
Chris Dollin
anover_alias
Offline Send Email
Dec 2, 2005
7:52 am
15622
... I never suggested packages, Cedric. Separate source trees. Have you been thinking I was suggesting moving tests into different /packages/ all this time? I...
J. B. Rainsberger
nails762
Offline Send Email
Dec 2, 2005
9:04 pm
15623
... 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...
Cédric Beust 
cbeust
Offline Send Email
Dec 2, 2005
10:34 pm
15624
... *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. -- ...
Robert Watkins
robertdw26
Offline Send Email
Dec 3, 2005
3:42 am
15625
Before I write my own "AssertThat," are there any plans to incorporate Joe Walnes' suggestion into JUnit in the future?...
Tony Gunter
tony_gunter
Online Now Send Email
Dec 4, 2005
2:13 pm
15626
... 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...
Rob Biedenharn
rab6687
Offline Send Email
Dec 4, 2005
2:14 pm
15627
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Dec 4, 2005
9:16 pm
15628
... 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...
J. B. Rainsberger
nails762
Offline Send Email
Dec 4, 2005
9:18 pm
15629
... Kind of. I misread the javadoc in the source in the Eclipse editor. My mistake....
James Abley
taboozizi
Offline Send Email
Dec 5, 2005
10:02 pm
15630
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...
Kent Beck
kentlbeck
Offline Send Email
Dec 6, 2005
6:22 pm
15631
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 ...
roberto_lucente
Offline Send Email
Dec 6, 2005
7:06 pm
15632
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...
roberto_lucente
Offline Send Email
Dec 6, 2005
7:13 pm
15633
Note that the following appears to be a partial transcript of the screencast @ http://www.eclipse.org/tptp/home/documents/tutorials/screencasts/tptpJunit.html ...
Tom Roche
tlroche
Offline Send Email
Dec 7, 2005
2:23 pm
15634
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....
johnlukar
Offline Send Email
Dec 8, 2005
4:13 am
15635
"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...
roberto_lucente
Offline Send Email
Dec 8, 2005
4:13 am
15636
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 ?...
viveksaxena1975
Offline Send Email
Dec 8, 2005
4:15 am
Messages 15607 - 15636 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