How do I set up a Spring Data Neo4j integration test with JUnit 5 (in Kotlin)?
问题 Most examples around the Web for doing Spring integration tests with Neo4j are still on JUnit 4, and use the Neo4jRule. How do we create a setup for Neo4j + Spring + JUnit 5? 回答1: If you are testing on embedded, please use the Test Harness with a simple Spring Configuration. Here are some examples: https://medium.com/neo4j/testing-your-neo4j-based-java-application-34bef487cc3c https://github.com/michael-simons/neo4j-sdn-ogm-tips/tree/master/examples/using-the-test-harness https://github.com