-
Notifications
You must be signed in to change notification settings - Fork 6
JSTEP 10
Tatu Saloranta edited this page Feb 7, 2025
·
39 revisions
(Back to JSTEP page)
Main discussion : https://github.com/FasterXML/jackson/discussions/249
Joo Hyuk Kim (@joohyukkim)
- 2025-01-30 : (tatu) Updates; only 2 providers (JAX-RS, Jakarta-RS) missing!
- 2025-01-22 : (tatu) Update wrt completed
jackson-datatypes-collections
conversion - 2024-12-28 : Initial set-up --skeletal, contents, issues etc...
This JSTEP is complete as of February 6, 2025.
Currently in Jackson 2.x (up to 2.18), most of modules including core and extensions have test suite shaped in following way.
- Co-existence of
JUnit 4
andJUnit 5
- Exclude
/failing
tests usingmaven-surefire-plugin
exceptjackson-databind
module 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 4
withJUnit 5
usage- also, make use of something like DatabindTestUtil where needed (name to use maybe
JacksonTestUtil
orModuleTestUtil
- also, make use of something like DatabindTestUtil where needed (name to use maybe
- Change 2 : Replace use of
src/test/java/.../failing
package with Jackson's new failing test management and moving tests to newsrc/test/java/.../tofix
package
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-dataformats-binary
: https://github.com/FasterXML/jackson-dataformats-binary/issues/547 -
jackson-dataformats-text
: https://github.com/FasterXML/jackson-dataformats-text/issues/523 -
jackson-dataformat-xml
: https://github.com/FasterXML/jackson-dataformat-xml/issues/700
-
jackson-modules-base
: https://github.com/FasterXML/jackson-modules-base/issues/268 -
jackson-modules-java8
: https://github.com/FasterXML/jackson-modules-java8/issues/339
-
jackson-datatypes-collections
: https://github.com/FasterXML/jackson-datatypes-collections/issues/174 -
jackson-datatypes-misc
: https://github.com/FasterXML/jackson-datatypes-misc/issues/51 -
jackson-datatype-joda
: https://github.com/FasterXML/jackson-datatype-joda/issues/152
-
jackson-jaxrs-providers
: https://github.com/FasterXML/jackson-jaxrs-providers/issues/208 -
jackson-jakarta-rs-providers
: https://github.com/FasterXML/jackson-jakarta-rs-providers/issues/45
-
jackson-module-kotlin
: converted earlier -
jackson-module-scala
uses different testing framework, not applicable.
-
jackson-jr
: https://github.com/FasterXML/jackson-jr/pull/186 -
jackson-integration-tests
: https://github.com/FasterXML/jackson-integration-tests/pull/22