@@ -95,8 +95,8 @@ It is an embedded instance that is especially useful when testing stored procedu
95
95
The test harness can however be used to test an application as well.
96
96
As it brings up a database inside the same JVM as your application, performance and timings may not resemble your production setup.
97
97
98
- For your convenience we provide three possible scenarios, Neo4j test harness 3.5 and 4.0 as well as Testcontainers Neo4j.
99
- We provide different examples for 3.5 and 4.0 as the test harness changed between those versions.
98
+ For your convenience we provide three possible scenarios, Neo4j test harness 3.5 and 4.x/5.x as well as Testcontainers Neo4j.
99
+ We provide different examples for 3.5 and 4.x/5.x as the test harness changed between those versions.
100
100
Also, 4.0 requires JDK 11.
101
101
102
102
[[dataneo4jtest-harness35]]
@@ -179,7 +179,7 @@ application properties. We overwrite the corresponding Neo4j settings.
179
179
<.> Shutdown Neo4j after all tests.
180
180
181
181
[[dataneo4jtest-harness40]]
182
- === `@DataNeo4jTest` with Neo4j test harness 4.x
182
+ === `@DataNeo4jTest` with Neo4j test harness 4.x/5.x
183
183
184
184
You need the following dependencies to run <<dataneo4jtest-harness40-example>>:
185
185
@@ -200,12 +200,12 @@ You need the following dependencies to run <<dataneo4jtest-harness40-example>>:
200
200
</dependency>
201
201
----
202
202
203
- The dependencies for the enterprise version of Neo4j 4.x are available under the `com.neo4j.test:neo4j-harness-enterprise` and
203
+ The dependencies for the enterprise version of Neo4j 4.x/5.x are available under the `com.neo4j.test:neo4j-harness-enterprise` and
204
204
an appropriate repository configuration.
205
205
206
206
[[dataneo4jtest-harness40-example]]
207
207
[source,java]
208
- .Using Neo4j 4.x test harness
208
+ .Using Neo4j 4.x/5.x test harness
209
209
----
210
210
import static org.assertj.core.api.Assertions.assertThat;
211
211
0 commit comments