public class ProcessStandardSuite extends AbstractGremlinSuite
ProcessStandardSuite
is a JUnit test runner that executes the Gremlin Test Suite over a
Graph
implementation. This specialized test suite and runner is for use
by Gremlin implementers to test their Graph
implementations. The
ProcessStandardSuite
ensures consistency and validity of the implementations that they test.
To use the ProcessStandardSuite
define a class in a test module. Simple naming would expect the name of the
implementation followed by "ProcessStandardSuite". This class should be annotated as follows (note that the "Suite"
implements GraphProvider
as a convenience only. It could be implemented in a
separate class file):
AbstractGremlinSuite.GraphProviderClass, AbstractGremlinSuite.OptOutTestFilter
Constructor and Description |
---|
ProcessStandardSuite(Class<?> klass,
RunnerBuilder builder) |
ProcessStandardSuite(Class<?> klass,
RunnerBuilder builder,
Class<?>[] testsToExecute,
Class<?>[] testsToEnforce) |
ProcessStandardSuite(Class<?> klass,
RunnerBuilder builder,
Class<?>[] testsToExecute,
Class<?>[] testsToEnforce,
boolean gremlinFlavorSuite) |
Modifier and Type | Method and Description |
---|---|
boolean |
beforeTestExecution(Class<? extends AbstractGremlinTest> testClass)
Called just prior to test class execution.
|
afterTestExecution, getGraphProviderClass, isHelperMethodOverriden, runChild, validateOptInAndOutAnnotationsOnGraph
public ProcessStandardSuite(Class<?> klass, RunnerBuilder builder) throws InitializationError
InitializationError
public ProcessStandardSuite(Class<?> klass, RunnerBuilder builder, Class<?>[] testsToExecute, Class<?>[] testsToEnforce) throws InitializationError
InitializationError
public boolean beforeTestExecution(Class<? extends AbstractGremlinTest> testClass)
AbstractGremlinSuite
beforeTestExecution
in class AbstractGremlinSuite
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.