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...
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...
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...
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...
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@...
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...
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...
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...
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,...
James: I tried your suggestions (-verbose), but discovered that my problem has mysteriously disappeared. With or without the -verbose option, I can run "ant...
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...
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...
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 ...
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...
... 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...
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...
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...
... 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...