File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,15 @@ Then java-snapshot-testing might just be what you are looking for!
2525// In this case we are using the JUnit5 testing framework
2626testImplementation 'io.github.origin-energy:java-snapshot-testing-junit5:3.+'
2727
28- // Many will want to serialize into JSON. In this case you should also add the Jackson plugin
28+ // slf4j logging implementation if you don't already have one
29+ testImplementation("org.slf4j:slf4j-simple:2.0.0-alpha0")
30+
31+ // Optional: Many will want to serialize into JSON. In this case you should also add the Jackson plugin
2932testImplementation 'io.github.origin-energy:java-snapshot-testing-plugin-jackson:3.+'
3033testImplementation 'com.fasterxml.jackson.core:jackson-core:2.11.3'
3134testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.11.3'
3235
33- // slf4j logging implementation if you don't already have one
34- testImplementation("org.slf4j:slf4j-simple:2.0.0-alpha0")
35- ```
36-
37- Note that if you'll want Jackson to serialize Java 8 date/time types or Optionals you should also add the following dependencies
38- ``` groovy
36+ // Optional: If you want Jackson to serialize Java 8 date/time types or Optionals you should also add the following dependencies
3937testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.3'
4038testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.3'
4139```
You can’t perform that action at this time.
0 commit comments