Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] JUnit 4 or 5

My 2 cents: I was considering to move to JUnit5 as a testcase but due to this tweet I stopped considering (for now)

https://twitter.com/vogella/status/1355103882049937409

Jantje

Op 20/12/2020 om 1:33 schreef Jonah Graham:
Hi folks,

I want to solicit input and experience gained from others on this question fromĀ Bug 569839:

To implement test skipping for the flaky tests in Bug 499777 I wanted to just
add a line like:

Assume.assumeFalse("Skipping flaky test",
Boolean.parseBoolean(System.getProperty("skipFlakyTests")));

and then the gerrit builds could run with -DskipFlakyTests=true so that we can
get less false negatives, but still have the tests run as part of cdt-master.

However Assume is not available in JUnit3.

The question is should we update straight to JUnit5 (aka Jupiter) or just to
JUnit4 (like I did in
https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/174004)?

Please let me know what you think.

Thanks
Jonah

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top