Early in the process of writing applications, you have to decide how to run your integration tests. Will they hit a dedicated testing instance of Neo4j that is always running, or will you use the embedded instance?
There is a third option: starting a database before testing and stopping it after testing. Most of the time, this may require some manual scripting around test execution, but there is a much easier method: using testcontainers with a Neo4j module.
In this session, you'll learn how to start new instances of the database along with your tests whenever needed, take control of the lifetime of the container, and expose connection information needed for testing. With this, your testing infrastructure becomes much more portable and there is no need to share credentials of the test server in the future.