-
Notifications
You must be signed in to change notification settings - Fork 3
JSTEP 10
Tatu Saloranta edited this page Jan 25, 2025
·
40 revisions
(Back to JSTEP page)
Main discussion : https://github.com/FasterXML/jackson/discussions/249
Related change issues
- https://github.com/FasterXML/jackson/discussions/249
- https://github.com/FasterXML/jackson-databind/discussions/4190
- https://github.com/FasterXML/jackson-databind/pulls?q=is:pr+migrate+junit+
Joo Hyuk Kim (@joohyukkim)
- 2025-01-22 : (tatu) Update wrt completed
jackson-datatypes-collectionsconversion - 2024-12-28 : Initial set-up --skeletal, contents, issues etc...
Currently in Jackson 2, most of modules including core and extensions have test suite shaped in following way.
- Co-existence of
JUnit 4andJUnit 5 - Exclude
/failingtests usingmaven-surefire-pluginexceptjackson-databindmodule where we have "New failing test management using Jupiter extension" since 2.18 version.
To keep up with Jackson 3 changes such as baseline version of JDK 17, it would be effective for consistency to implement following in order ....
- Change 1 : Replace
JUnit 4withJUnit 5usage- also, make use of something like DatabindTestUtil where needed (name to use maybe
JacksonTestUtilorModuleTestUtil
- also, make use of something like DatabindTestUtil where needed (name to use maybe
- Change 2 : Replace use of
src/test/java/.../failingpackage with Jackson's new failing test management and moving tests to newsrc/test/java/.../tofixpackage
Note that modules to remove --or merge to other modules-- starting Jackson 3 will not be included.
- jackson-annotations
- Change 1 : https://github.com/FasterXML/jackson-annotations/issues/247
- Change 2 : There are no failing tests
- jackson-core
- jackson-databind
- Change 1 : https://github.com/FasterXML/jackson-databind/pulls?q=is:pr+migrate+junit+ search query), unfortunately didn't make umbrella issue
- Change 2 : https://github.com/FasterXML/jackson-databind/pull/4696
-
jackson-datatypes-misc
- Change 1 :
- Change 2 :
-
jackson-datatype-joda
- Change 1 :
- Change 2 :
-
jackson-modules-java8
- Change 1 :
- Change 2 :
jackson-module-kotlin
NOTE: jackson-module-scala uses different testing framework, not applicable.
jackson-jaxrs-providersjackson-jakarta-rs-providers