Package com.neo4j.harness.junit.rule
Class EnterpriseNeo4jRule
java.lang.Object
org.neo4j.harness.junit.rule.Neo4jRule
com.neo4j.harness.junit.rule.EnterpriseNeo4jRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Enterprise Neo4j JUnit
rule
.
Allows easily start enterprise neo4j instance for testing purposes with various user-provided options and configurations.
By default, it will try to start neo4j with embedded web server on random ports. Therefore it is necessary
for the test code to use Neo4jRule.httpURI()
and then URI.resolve(String)
to create the URIs to be invoked.
In case if starting embedded web server is not desirable it can be fully disabled by using Neo4jRule.withDisabledServer()
configuration option.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.neo4j.harness.junit.rule.Neo4jRule
apply, boltURI, config, copyFrom, databaseManagementService, defaultDatabaseService, dumpLogsOnFailure, dumpLogsOnFailure, httpsURI, httpURI, withAggregationFunction, withConfig, withDisabledServer, withFixture, withFixture, withFixture, withFunction, withProcedure, withUnmanagedExtension, withUnmanagedExtension
-
Constructor Details
-
EnterpriseNeo4jRule
public EnterpriseNeo4jRule() -
EnterpriseNeo4jRule
-