Skip to content

Commit 74a253d

Browse files
committed
Add Neo4j 5.x as test harness supported.
This is still the same as with 4.x, thus we just mention it in the combination with 4.x to avoid any upcoming questions.
1 parent 5a53733 commit 74a253d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/asciidoc/faq/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ No.
3939
An embedded database is usually represented by an instance of `org.neo4j.graphdb.GraphDatabaseService` and has no Bolt connector out of the box.
4040

4141
SDN can however work very much with Neo4j's test harness, the test harness is specially meant to be a drop-in replacement for the real database.
42-
Support for both Neo4j 3.5 and 4.x test harness is implemented via link:{java-driver-starter-href}[the Spring Boot starter for the driver].
42+
Support for Neo4j 3.5, 4.x and 5.x test harness is implemented via link:{java-driver-starter-href}[the Spring Boot starter for the driver].
4343
Have a look at the corresponding module `org.neo4j.driver:neo4j-java-driver-test-harness-spring-boot-autoconfigure`.
4444

4545
[[faq.change-driver-version]]

src/main/asciidoc/testing/testing.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ It is an embedded instance that is especially useful when testing stored procedu
9595
The test harness can however be used to test an application as well.
9696
As it brings up a database inside the same JVM as your application, performance and timings may not resemble your production setup.
9797

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.
100100
Also, 4.0 requires JDK 11.
101101

102102
[[dataneo4jtest-harness35]]
@@ -179,7 +179,7 @@ application properties. We overwrite the corresponding Neo4j settings.
179179
<.> Shutdown Neo4j after all tests.
180180

181181
[[dataneo4jtest-harness40]]
182-
=== `@DataNeo4jTest` with Neo4j test harness 4.x
182+
=== `@DataNeo4jTest` with Neo4j test harness 4.x/5.x
183183

184184
You need the following dependencies to run <<dataneo4jtest-harness40-example>>:
185185

@@ -200,12 +200,12 @@ You need the following dependencies to run <<dataneo4jtest-harness40-example>>:
200200
</dependency>
201201
----
202202

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
204204
an appropriate repository configuration.
205205

206206
[[dataneo4jtest-harness40-example]]
207207
[source,java]
208-
.Using Neo4j 4.x test harness
208+
.Using Neo4j 4.x/5.x test harness
209209
----
210210
import static org.assertj.core.api.Assertions.assertThat;
211211

0 commit comments

Comments
 (0)