DL, I have actually found that judicious use of underscores helps in this case since many GUI runners display them as spaces. Therefore, you can write things...
Pigneri, Rocco
rpigneri@...
Jun 1, 2009 2:49 pm
21700
The latest snapshot build of 4.7 is junit-4.7-SNAPSHOT-20090601-1258. This build upgrades the bundled version of Hamcrest up to 1.2, which has effects on the...
With the most recent snapshot build of JUnit 4.7, you can basically use the JUnitMatchers.matches() method as type-checking duct tape, so this should compile: ...
... Apache Gump uses JUnit's trunk for everything it builds, but most of the projects probably do't use assertThat at all. One project that started to fail...
... I think that Ant 1.6.5 can't run JUnit 4 Tests without an Adapter. Ant 1.7.0 is the first JUnit 4-aware release, if I remember correctly. Greetings, Malte...
That helped. I set my ant home to 1.7 and it worked. Is these a doc/link which mentions how to migrate old JUnit test to the newer syntax. How can I have a mix...
I had the same problem. Since Ant 1.6.5 was released before JUnit4 it doesn't know about it. I tried the same thing you did. I ended up upgrading to ant 1.7.0...
Yeah... migrating to JUnit4 with a bunch of existing JUnit3 tests is troublesome. However if you've been using Suites all along it's not that hard. What we've...
Hello there, ... As far as I know you can't mix old- and newstyle test in ONE class and I don't think that makes any sense anyways. But you can combine old-...
Stefan, Logged here: http://github.com/KentBeck/junit/issues#issue/9 I think I may have a solution, by following hamcrest's lead and changing the signature of...
Hey, all. The latest SNAPSHOT build of JUnit 4.7 is up on github: http://github.com/KentBeck/junit/downloads If you've been waiting until the new features were...
An unknown mirror is not a good solution for me. I could place JUnit javadocs somewhere on my server, but I would prefer the original ones. At last I found...
My guess is that the questioner has multiple operations in a single test: when I do *this* I get this exception and when I do *that* I get that exception If...
All, Rapha has proposed the following change to the printing of parameterized tests. Rather than print the ordinal "parameterizedTest()[1]" he would like to...
Kent, This has been proposed many times, usually in terms of changing the actual name in the description. Originally, I backed off because I thought users...
Hi JUnit, Here's a blog entry that describes in detail what I ended up doing to get non-static inner classes instantiated and run along with their enclosing...
ant test -Dtest.class.name=AnnotationsTest. When I changed the code as follows , there are two tests that got run successfully. I now have to extend...
Suresh, Can you send the class as you'd like it to be run, and what the behavior is? That will help us understand what's going on. Thanks, David Saff...
I have some tests that require relatively large heap sizes to complete (eg 800MB). It would be useful to have an annotation to express this so that a runner...