@BeforeClass
    public static void setUp() throws Exception {
        final InputStream stream = GremlinServer.class.getResourceAsStream("gremlin-server-integration.yaml");
        final Settings settings = Settings.read(stream);
        ServerTestHelper.rewritePathsInGremlinServerSettings(settings);

        server = new GremlinServer(settings);
        server.start().get(100, TimeUnit.SECONDS);
    }
Abstract class that contains the setup and teardown for running feature tests.
gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/driver/remote/AbstractFeatureTest.java