junit5 only projects bitten by eclipse

bitten on the edge in eclipse 2018

  • exceptions on failing junit5 tests in eclipse (only) but tests in junit runner remain green.

console output
TestEngine with ID 'junit-jupiter' failed to execute tests java.lang.NoClassDefFoundError: junit/framework/ComparisonFailure
workaround

add the old jolly junit4 as dependency into the build until this is fixed.

dependencies {
  testCompile 'junit:junit:4.12'
}

Published by in qa and tagged testing using 56 words.