By default, tests are executed on an embedded TinkerGraph with Gremlin Server Cypher plugin installed see GremlinServerExternalResource using a plugin-compatible client.
To run tests with different client configurations use the translate
parameter, for example:
./gradlew :testware:integration-tests:build -Dtranslate=gremlin+cfog_server_extensions
To run tests on an external Gremlin Server use the configPath
parameter, for example:
./gradlew :testware:integration-tests:build -DconfigPath="config/cypher-server.yaml"
- Setup JanusGraph and install Gremlin Server Cypher Plugin
- Drop schema, indexes and constraints
- Run
gradle :testware:integration-test-suites:suite --tests "org.opencypher.gremlin.suites.JanusGraphSuite" -DconfigPath=/path/to/janusgraph-client.yaml
- Setup port forwarding or run inside VPC
- Run
gradle :testware:integration-test-suites:suite --tests "org.opencypher.gremlin.suites.NeptuneSuite" -DconfigPath=/path/to/neptune-client.yaml -Dtranslate=neptune
- Run
gradle :testware:integration-test-suites:suite --tests "org.opencypher.gremlin.suites.CosmosDBSuite" -DconfigPath=/path/to/cosmosdb-client.yaml -Dtranslate=cosmosdb
- Setup and install Gremlin Server Cypher Plugin
- Run
gradle :testware:integration-test-suites:suite --tests "org.opencypher.gremlin.suites.ExtensionsSuite" -DconfigPath=/path/to/neo4j-client.yaml