[CODEC-285] Upgrade JUnit to 5.6.0#39
Conversation
|
When including multiple JUnit dependencies I would use the JUnit BOM in the dependency management to ensure they are kept in sync: I'd like to highlight that codec targets JDK 7. These changes to the build tools would prevent building on JDK 7. I'm fine with forcing JDK 8+ for the toolchain but Java 7 still has support until July 2022 and someone may care about this. |
|
My preference would be for Codec to update to Java 8. |
await another Jira/PR, I'm finding that for assertThrows i need lambdas and it would make it easier |
if i can upgrade all the tests quick enough, junit-vintage-engine will be going asap, so i would prefer to keep both separately defined so i can start moving tests from vintage to jupiter, then another future to drop junit-vintage-engine. i agree long term it would be better to define to keep in sync but depending how long the discussions are, depends how long you have duplicate definitions. |
289e824 to
7012212
Compare
|
Git master is now on Java 8. It's confusing to have both JUnit 4 AND 5 on the classpath. It should be one or the other, and yes, it would be nice to update the whole component to JUnit 5. |
7012212 to
0f8714b
Compare
|
@garydgregory It can be useful as your migrating from JUnit v4 to JUnit v5, otherwise is a bing bang. Take advantage of assertAll and assertThrows as that would work in JUnit v4 code. |
0f8714b to
55689bd
Compare
* CODEC-284 update to hamcrest v2.2 * CODEC-285 update to junit v5.6.0 * CODEC-285 update to junit v5.8.2 via junit-bom
Handles https://issues.apache.org/jira/browse/CODEC-285
Also based upon https://issues.apache.org/jira/browse/CODEC-284 branch so pr #38