[cle-release-team] JUnit upgrade to at least 4.11?

Steve Swinsburg steve.swinsburg at gmail.com
Tue Apr 16 00:46:15 PDT 2013


Assuming compatible, +1 to upgrade. 

Sent from my iPhone

On 16/04/2013, at 8:45, Matthew Jones <matthew at longsight.com> wrote:

> JUnit 4.11 is the latest version released.
> 
> It brings a pretty big improvement with JVM 7; more reliable tests and a predictable method orders. There are 3 options
> DEFAULT -  Deterministic order based on an internal comparator but not predictable. (At least this means if it passes once, future failures aren't because of the order, unless some new test is added?)
> JVM - Order may vary from run to run
> NAME_ASCENDING - Based on method alphabetic names
> 
> "Of course, well-written test code would not assume any order, but some does, and a predictable failure is better than a random failure on certain platforms."
> 
> https://github.com/junit-team/junit/blob/master/doc/ReleaseNotes4.11.md"
> 
> In kernel, junit is currently 4.8.2, in master junit is 3.8.1. Seems like these could both be upgraded. It fixed a "seemingly random" test problem I was seeing recently. I did this locally and they built without problems (though that was expected) and the tool (dashboard) I was having random failures with has been building reliably with this version upgraded locally, was about 50% failure before.
> _______________________________________________
> cle-release-team mailing list
> cle-release-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/cle-release-team/attachments/20130416/1788822e/attachment-0006.html 


More information about the cle-release-team mailing list