Closed TWiStErRob closed 3 years ago
Even though this is the documentation:
Support for official testing support classes. From 4.0 onwards, Neo4j provides a set of Junit 4 rules and Junit 5 extensions for community and enterprise users.
Affected classes
- com.neo4j.harness.junit.extension.EnterpriseNeo4jExtension
- com.neo4j.harness.junit.rule.EnterpriseNeo4jRule
- org.neo4j.harness.junit.extension.Neo4j
- org.neo4j.harness.junit.extension.Neo4jExtension
- org.neo4j.harness.junit.extension.Neo4jExtensionBuilder
- org.neo4j.harness.junit.rule.Neo4jRule
it was recommended against using it by OGM author: https://stackoverflow.com/a/60559342/253468
Also it doesn't support parallel execution because it's using BeforeAll to start the DB.
https://neo4j.com/docs/upgrade-migration-guide/current/migration/surface-changes/java-api/