movies-javascript-bolt icon indicating copy to clipboard operation
movies-javascript-bolt copied to clipboard

GGP-460: testing with @neo4j-labs/temp-dbs

Open nossila opened this issue 4 years ago • 1 comments
trafficstars

Proof of concept of using @neo4j-labs/temp-dbs for creating disposable databases for testing.

How to test:

  1. Make sure you have a Neo4j database running locally, you can use Neo4j Desktop for this. Make sure to select at least version 4
  2. Export the right credentials to your environment like:
export NEO4J_URI="bolt://localhost:7687"
export NEO4J_USER="neo4j"
export NEO4J_PASSWORD="123456"
export NEO4J_VERSION="4.2.1"
  1. Install nodejs dependencies npm install
  2. Run tests npm run test

nossila avatar Jun 30 '21 19:06 nossila

@fbiville the goal is to have an example of using tests using the semi-experimental https://github.com/neo4j-contrib/neo4j-temp-db - we can keep the "real" tests but have the other as an example for third parties to consider for their projects.

whatSocks avatar Jul 01 '21 13:07 whatSocks