All, If all goes well, here are the release notes for JUnit 4.5. Share and Enjoy. David Saff ## Summary of Changes in version 4.5 ## ### Installation ### - We...
20707
David Saff
dsaff
Jul 23, 2008 5:19 pm
Daniel, Thanks for the fix! I've patched it in. David On Fri, Jul 18, 2008 at 7:26 AM, Daniel Brolund...
20708
David Saff
dsaff
Jul 23, 2008 5:24 pm
Sri, I know it's much later, but did you find a solution to your problem? Thanks, David Saff...
20709
David Saff
dsaff
Jul 23, 2008 5:32 pm
Hans, There is a way of getting very close to what you want in JUnit 4.4 and beyond, with assumptions: private boolean canLogin() { // return true if login...
20710
David Saff
dsaff
Jul 23, 2008 6:44 pm
@BeforeClass and @AfterClass on the @RunWith(Suite) class have exactly this behavior in JUnit 4.4 and beyond. However, I think the original poster was using...
20711
J. B. Rainsberger
nails762
Jul 25, 2008 1:01 am
... It sounds like a very good place to start. I hope you have enjoyed what you've read so far. ... I see a deeper design issue here that I want to make you...
20712
adrian.kuhn
Jul 25, 2008 11:11 am
Dear Hans, have a look at JExample, it extends JUnit with first-class dependencies. You can declare @Depends(...) which is taken into account when running the...
20713
David Saff
dsaff
Jul 28, 2008 2:58 pm
Did anyone give it a try? Thanks, David Saff...
20714
Frederic Jean
freddyjean23
Jul 28, 2008 10:53 pm
I am using Ivy to declare and manage my dependencies on a Groovy based custom runner for Selenium test scripts. I was wondering whether the JUnit 4.5 betas and...
20715
kentb
kentlbeck
Jul 28, 2008 11:09 pm
Dear Malte, I think I understand your position. The proposed interface conflicts with the basic JUnit value of simplicity--all tests in a class run with the...
20716
Böhm, Martin
martinboehms...
Jul 29, 2008 7:06 am
Hi, sorry, for the late answer. ... Mock frameworks will help you in cases, when you want to manipulate the indirect outputs and inputs of a unit. Assuming...
20717
David Saff
dsaff
Jul 29, 2008 2:45 pm
It appears junit.org is mostly up. ("Releases" is empty, but we'll enter 4.5 soon). Let me know if anything is obviously missing. I'm aware the javadoc is...
20718
Nat Pryce
nat_pryce
Jul 29, 2008 10:11 pm
... I've ported the JMock runner to the new package structure in 4.5 Beta-3 and it works fine. However, I noticed that the old test runner works differently in...
20719
kentb
kentlbeck
Jul 29, 2008 10:53 pm
Nat, Thank you for the feedback. We made a mistake in method validation somewhere in 4.5. We'll fix it before releasing. Regards, Kent Beck Three Rivers...
20720
Robin de Silva Jayasi...
robinjay33
Jul 30, 2008 8:19 am
Hi David! Issue 2008607 (http://sourceforge.net/tracker/index.php?func=detail&aid=2008607&group_id=15278&atid=115278) is not in that snapshot, is it? I gave it...
20721
toalexsmail
Jul 30, 2008 10:31 pm
Where one can read about new block architecture (statement). I found it a bit confuses. ... and Enjoy. ... more than half ... interactions....
20722
toalexsmail
Jul 30, 2008 10:31 pm
No, you're wrong. Suppose you want to run suite with 2 different classes and you want to make one time setup only once. That is you want to do...
20723
toalexsmail
Jul 30, 2008 10:31 pm
Hi, David! I just want to understand you point. Suppose I have 200 test method in 50 classes. In this class every test method should be somethiing like this: ...
20724
Hans Schwaebli
hans_schwaebli
Jul 31, 2008 7:43 am
Thanks for the suggestion. I didn't know this exists. Still I think, that dependencies should be supported by JUnit out of the box. ... From: adrian.kuhn...
20725
Hans Schwaebli
hans_schwaebli
Jul 31, 2008 8:54 am
I would see this as a workaround. As I said, dependencies are a frequent and often important issue in organisation of various things (lets be general). So a...
20726
David Saff
dsaff
Jul 31, 2008 9:56 am
... Good morning. ... @RunWith(Suite.class) @SuiteClasses(A.class, B.class) public class MySuite { @BeforeClass public static void doYourOneTimeSetup() {} ...
20727
kentb
kentlbeck
Jul 31, 2008 2:32 pm
Dear Alex, You can read about our discovery of the new design at: www.threeriversinstitute.org/TwoMoreImplementationPatterns.htm. The precise details have...
20728
David Saff
dsaff
Jul 31, 2008 2:59 pm
Daniel, On Thu, Jul 17, 2008 at 3:39 PM, Daniel Brolund ... Absolutely. We've built a similar idea into BlockJUnit4ClassRunner in JUnit 4.5. Imagine: public...
20729
David Saff
dsaff
Jul 31, 2008 3:02 pm
On Thu, Jul 17, 2008 at 3:39 PM, Daniel Brolund ... FYI, We're looking at parallel execution as a baked-in optional feature in JUnit {4.n | n >= 6}. We'd love...
20730
David Saff
dsaff
Jul 31, 2008 3:47 pm
Daniel, Per my earlier message, did this go anywhere? Thanks, David Saff...
20731
Bradley, Todd
todd404
Jul 31, 2008 10:36 pm
... A few years back, I used the ActiveTestSuite for JUnit 3. I can't remember who wrote that, but it was awesome. Todd....
20732
Karl
karlmdavis
Jul 31, 2008 10:40 pm
I'm getting the following exception when running my a unit test via junit-4.4: << java.lang.NoSuchMethodError: ...
20733
Daniel Brolund
daniel.brolund
Jul 31, 2008 11:43 pm
Hi David, The solution in my email proved unuseful for nested suites, since each suite needs its own "thread pool" (an ExecutorService). This leeds to ...
20734
Daniel Brolund
daniel.brolund
Aug 1, 2008 12:00 am
Hi again, ... Sorting and filtering in general could possibly be solved in this manner as well, with reservation for managing the Description. Cheers Daniel...
20735
Daniel Brolund
daniel.brolund
Aug 1, 2008 12:02 am
Hi David, I think my other post explains in more detail what I'm after. :-) Cheers Daniel...