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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 21559 - 21588 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
21559
I'm not sure what the motivation for having a separate runner would be. I suppose it could be called a DynamicSuite, or SuiteMethodRunner. I'm just not sure...
yme0987654321
Offline Send Email
May 1, 2009
1:06 pm
21560
Wow. Total code review fail on our part. Can you log a high-priority bug? We'll smash this bug for 4.7, possibly next week's snapshot. If you feel really...
David Saff
dsaff
Offline Send Email
May 1, 2009
1:57 pm
21561
That's good feedback. While I agree that one runner with two mechanisms sounds simpler than two runners with one mechanism each, I also think that when you...
David Saff
dsaff
Offline Send Email
May 1, 2009
2:08 pm
21562
I did make a change based around this, but I'm not completely happy with it. I feel like you would want to use the timeout version of the API; e.g. for CI...
James Abley
taboozizi
Offline Send Email
May 1, 2009
8:19 pm
21563
Hi, Not entirely sure if this is the right place to post this, but in the JUnit cookbook, the instructions for running a test from the command line are wrong...
Samuel Douglas
sam.douglas32@...
Send Email
May 2, 2009
1:39 pm
21564
I just logged it as 2786193. To me the interaction would be that a given class passed to the Suite runner would only be executed once (that is a Set rather...
yme0987654321
Offline Send Email
May 3, 2009
6:29 pm
21565
Yuck. Can you raise a bug on SourceForge? Thanks, David Saff...
David Saff
dsaff
Offline Send Email
May 4, 2009
1:27 pm
21566
It would seem that the idea of a global timeout would be orthogonal to whether the tests run in parallel or not, right? David...
David Saff
dsaff
Offline Send Email
May 4, 2009
1:29 pm
21567
All, We've bundled the most recent changes in the 4.7 branch into a snapshot release here: ...
David Saff
dsaff
Offline Send Email
May 4, 2009
5:46 pm
21568
You are also welcome to submit a patch via GitHub. We much prefer solutions to problems... Regards, Kent _____ From: junit@yahoogroups.com...
kentb
kentlbeck
Offline Send Email
May 4, 2009
11:09 pm
21569
I don't know this question is appropriate here . i have written some code that uses junit 4.x (i.e. with Annotations). I works fine when i run it on netbeans...
jerald_1183
Offline Send Email
May 5, 2009
12:18 am
21570
Hi I have relaunched my website - This time as a discussion forum You might be interested in the Calendar of Software Testing Events ...
Gaurav Pandey
gaurav_dell
Online Now Send Email
May 5, 2009
3:28 pm
21571
I'm working on setting up some junit test cases for an application that's been around a while. I have some tests running via ant, but I have a strange...
David Rush
ky7dr
Offline Send Email
May 5, 2009
11:59 pm
21572
I'd be suspicious of what "compile.tests" is doing. If you create a short main() class that depends on the class in question, and an ant target that runs it,...
David Saff
dsaff
Offline Send Email
May 6, 2009
1:20 pm
21573
David: I created Foo.java, which simply has a main method that creates an exception object from the 3rd-party library and prints it out: import...
David Rush
ky7dr
Offline Send Email
May 6, 2009
10:34 pm
21574
... Try the verbose and debug output mode of ant to see if you get more information?...
James Abley
taboozizi
Offline Send Email
May 7, 2009
1:25 pm
21575
... The snapshot is out. Have you had a chance to check it out? Thanks, David Saff...
David Saff
dsaff
Offline Send Email
May 7, 2009
1:44 pm
21576
James: I tried your suggestions (-verbose), but discovered that my problem has mysteriously disappeared. With or without the -verbose option, I can run "ant...
David Rush
ky7dr
Offline Send Email
May 7, 2009
7:34 pm
21577
Hi, I was wondering, is there a particularly good reason why the most useful method getName() was removed in junit 4.x? Is there another method or way for me...
chaz
honorable_crane
Online Now Send Email
May 9, 2009
2:13 am
21578
Hello JUnit, I have some abstract classes that enable a caller to check that classes which expose collection fields via accessor methods do so via the...
Paul Holser
pholser
Offline Send Email
May 9, 2009
5:38 pm
21579
Chaz, GetName() was removed in the move to a DSL-style interface with JUnit 4. The tradeoff was that if we dropped getName(), programmers would be free to ...
kentb
kentlbeck
Offline Send Email
May 9, 2009
8:00 pm
21580
... Does anyone have an example where this has been used to good effect? Regards, Mark Thornton...
Mark Thornton
mark_p_thornton
Offline Send Email
May 9, 2009
8:24 pm
21581
... I figure that once we feel comfortable with the Interceptors API, it will become part of the standard runner. David Saff...
David Saff
dsaff
Offline Send Email
May 11, 2009
2:01 pm
21582
On Sat, May 9, 2009 at 4:18 PM, Mark Thornton ... I experimented for some time with having a test class that inherited from the class under test, as a cheap...
David Saff
dsaff
Offline Send Email
May 11, 2009
2:13 pm
21583
... We used it for a couple things. One was this: because we have a functional test framework built on top of JUnit, we optionally store pass/fail results in...
Bradley, Todd
todd404
Offline Send Email
May 11, 2009
2:33 pm
21584
On Mon, May 11, 2009 at 10:29 AM, Bradley, Todd ... There were a lot of good uses of getName(), like yours. And some bad ones, of course. I think Mark's...
David Saff
dsaff
Offline Send Email
May 11, 2009
2:55 pm
21585
Paul, Have you looked at Theory support in JUnit > 4.4? It may not give you everything you want, but I'd be curious to know how close it gets. Thanks, David...
David Saff
dsaff
Offline Send Email
May 11, 2009
3:07 pm
21586
... For our organization, the ripple effects of that "freedom" was just a pain in the ass when it came time to switch to JUnit 4. We haven't taken advantage...
Bradley, Todd
todd404
Offline Send Email
May 11, 2009
5:11 pm
21587
Hi David, This looks promising -- I'll experiment further and report my findings. Thanks! --p...
Paul Holser
pholser
Offline Send Email
May 11, 2009
6:36 pm
21588
... Indeed, perhaps not adequately clear. Regards, Mark Thornton...
Mark Thornton
mark_p_thornton
Offline Send Email
May 12, 2009
2:15 am
Messages 21559 - 21588 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