oghenez / mycila

Automatically exported from code.google.com/p/mycila
0 stars 0 forks source link

Not really an issue per se, but probably should be mentioned about Junit4.4 not working, but 4.5 does #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Maybe I needed another dependency using Junit4.4?, but when running with
junit4.4 you'll end up with errors referring to
"java.lang.NoClassDefFoundError: org/junit/runners/BlockJUnit4ClassRunner"

But in 4.5 this error goes away. Maybe the package structure changed in 4.5?

Original issue reported on code.google.com by ric...@gmail.com on 22 Aug 2009 at 1:02

GoogleCodeExporter commented 8 years ago
Hi,

Yes it's true. From 4.4 and 4.5, Junit changed the way of creating runners: they
deprecated the old runner and advice to switch to the new BlockJUnit4ClassRunner
which provides more control over the test flow.

I don't know why they didn't incremented their major digit version (5.0 instead 
of
4.4) since it's quite a change from the usability perspective since 4.5 runners 
are
not compatible with 4.4.

Original comment by mathieu....@gmail.com on 22 Aug 2009 at 1:54

GoogleCodeExporter commented 8 years ago

Original comment by mathieu....@gmail.com on 15 Nov 2009 at 11:09