You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/databases/neo4j.md
+2-9Lines changed: 2 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,12 @@ the Testcontainers integration supports also newer 5.x images of Neo4j.
9
9
10
10
## Usage example
11
11
12
-
Declare your Testcontainers as a `@ClassRule` or `@Rule` in a JUnit 4 test or as static or member attribute of a JUnit 5 test annotated with `@Container` as you would with other Testcontainers.
13
-
You can either use call `getBoltUrl()` or `getHttpUrl()` on the Neo4j container.
14
-
`getBoltUrl()` is meant to be used with one of the [official Bolt drivers](https://neo4j.com/developer/language-guides/) while `getHttpUrl()` gives you the HTTP-address of the transactional HTTP endpoint.
15
-
On the JVM you would most likely use the [Java driver](https://github.com/neo4j/neo4j-java-driver).
16
-
17
-
The following example uses the JUnit 5 extension `@Testcontainers` and demonstrates both the usage of the Java Driver and the REST endpoint:
12
+
You can start a Neo4j container instance from any Java application by using:
0 commit comments