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 to share photos of your group with the world? 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 21246 - 21275 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
21246
Michael Feathers and I are working up a talk that will be a review of effectively 10 years of TDD. The idea is partly just to look at the history, but mainly...
Steve Freeman
smg_freeman
Offline Send Email
Jan 2, 2009
3:30 pm
21247
Steve, I appreciate you giving me some homework over the holidays :-) When are the two of you supposed to give this talk? Johannes...
Johannes Link
jlinkyh
Offline Send Email
Jan 2, 2009
7:50 pm
21248
I'm not Steve (I'm the other guy) but it will be at QCon in London. Michael...
mfeathers@...
mfeathers256
Offline Send Email
Jan 2, 2009
7:54 pm
21249
hii all, am new in testing implementation so i need some help i just wrote a simple code( by eclipse ) & i dont know why there is an error & i cant fix it or...
abd elrahman mahmoud
abdelrahman_...
Offline Send Email
Jan 3, 2009
2:07 pm
21250
On Fri, Jan 2, 2009 at 6:42 PM, abd elrahman mahmoud ... I see that you basically made the same request a few weeks ago. At that time I suggested some search...
Simon Chappell
spchappell
Offline Send Email
Jan 3, 2009
9:03 pm
21251
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...
Simon Chappell
spchappell
Offline Send Email
Jan 3, 2009
9:06 pm
21252
In rMock we used the following contruct: public void testSomething() { <code that we don't expect to throw an exception> ...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jan 5, 2009
2:22 pm
21253
On Mon, Jan 5, 2009 at 9:21 AM, Joakim Ohlrogge ... My initial reaction is that that construct would need global state, or a tricky simulation thereof, which I...
David Saff
dsaff
Offline Send Email
Jan 5, 2009
2:41 pm
21254
Another way to look at this is to free ourselves from the fetters of Java syntax and semantics for a moment and imagine what we'd like to say about thrown...
kentb
kentlbeck
Offline Send Email
Jan 5, 2009
4:04 pm
21255
Yes, it requires state, yes there has been confusion by enduesers. The most common confusion is that execution does not continue after an ...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jan 5, 2009
4:27 pm
21256
Or: new int[0][0] throws ArrayIndexOutOfBoundsException hmmm... exception(classOf[ArrayIndexoutOfBoundsException]) isThrownBy {new int[0][0]} Hmmm, cheating,...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jan 5, 2009
4:43 pm
21257
... There have been discussions about this since at least 2006: http://tech.groups.yahoo.com/group/junit/message/16313 Hopefully, it becomes less verbose with...
Ilja Preuß
ipreussde
Offline Send Email
Jan 5, 2009
4:53 pm
21258
I read the popper example, it's very elegant. Do you have the signature of the .when(emptyList) part? I assume it looks something like <T> T when(T object) and...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jan 5, 2009
4:59 pm
21259
Not to rain on the parade, but Alex Miller follows Java 7 pretty closely, and he's betting against closures ( ...
David Saff
dsaff
Offline Send Email
Jan 5, 2009
5:02 pm
21260
Too bad... :( Thx for the info, anyway. ;)...
Ilja Preuß
ipreussde
Offline Send Email
Jan 5, 2009
5:05 pm
21261
Hi Joakim, ... In NUnit, I wrote it as Assert.Throws( typeof(SomeException) ), <delegate> ); where <delegate> can be a named delegate, the name of a method or...
Charlie Poole
cpoole98370
Offline Send Email
Jan 5, 2009
7:21 pm
21262
Yes closures would be nice... sigh :) if you can't change your language, change your language I guess :) On Mon, Jan 5, 2009 at 8:21 PM, Charlie Poole ... -- ...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jan 5, 2009
8:21 pm
21263
Joakim, Exactly. http://popper.tigris.org/source/browse/popper/trunk/net.saff.theories/src/net/saff/imposterization/ThrownMatcher.java?revision=68&view=markup ...
David Saff
dsaff
Offline Send Email
Jan 5, 2009
9:26 pm
21264
So no one else has to Google, that means March 12-14, 2008. Michael/Steve, how quick are you hoping to get feedback? The Last Responsible Moment? Or...
David Saff
dsaff
Offline Send Email
Jan 5, 2009
9:28 pm
21265
Do you think the overall ease of use to people who need this feature will be worth a 20% increase in complexity for everyone who needs to understand the ...
David Saff
dsaff
Offline Send Email
Jan 5, 2009
9:33 pm
21266
David, I have a strong JDave bias, so I can't honestly answer that question. :) Another possibility would be to change AnnotatedBuilder instead of ...
tuomaskarkkainenri
tuomaskarkka...
Offline Send Email
Jan 6, 2009
12:03 pm
21267
On Tue, Jan 6, 2009 at 6:27 AM, tuomaskarkkainenri < ... Let's push on that. What would be the ideal hook here? David Saff ... [Non-text portions of this...
David Saff
dsaff
Offline Send Email
Jan 6, 2009
4:11 pm
21268
PMFBI, but another way to ask that question is: what is the first test you'd like to see pass that doesn't yet pass? Cheers, Kent _____ From:...
kentb
kentlbeck
Offline Send Email
Jan 6, 2009
4:22 pm
21269
Hi guys, I'm new in the group and I couldn't find anything on testing combination in the title. I have applicationContext.xml where EntityManagerFactory is ...
majkic@...
majkic...
Offline Send Email
Jan 7, 2009
12:09 am
21270
Whenever you can... It's not supposed to be a "serious" official record, just throw in anything that you think is relevant. I'm particularly interested in what...
Steve Freeman
smg_freeman
Offline Send Email
Jan 7, 2009
10:28 am
21271
It depends what you have in your Spring XML. Often it is the equivalent of "new" statements, defining the internal structure of the code, rather than...
nat_pryce
Offline Send Email
Jan 7, 2009
6:31 pm
21272
Hi, Have you looked at Spring integration testing support? http://static.springframework.org/spring/docs/2.5.x/reference/testing.html#testcontext-framework ...
Cenk Çivici
arkoftime
Offline Send Email
Jan 7, 2009
11:34 pm
21273
Kent, essentially: @Test public void findsRunnerFromDeclaringClass() { final Request request= Request.method(NonStaticInnerClass.class, "methodName"); ...
tuomaskarkkainenri
tuomaskarkka...
Offline Send Email
Jan 8, 2009
10:50 am
21274
David, any elegant idea that comes to my mind revolves around the notion that for a test method in a non-static inner class, the top level class that declares...
tuomaskarkkainenri
tuomaskarkka...
Offline Send Email
Jan 8, 2009
11:43 pm
21275
Thanks for the reference. I did something that works, but it works only when I do "mvn test". I cannot run test alone. I use AbstractJpaTests and those two...
Marko Majkic
majkic...
Offline Send Email
Jan 8, 2009
11:43 pm
Messages 21246 - 21275 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