com.rpuch.more-testcontainers:gremlin-server-testcontainer

Testcontainers for gremlin-server and janusgraph

Лицензия

Лицензия

Категории

Категории

Контейнер
Группа

Группа

com.rpuch.more-testcontainers
Идентификатор

Идентификатор

gremlin-server-testcontainer
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Testcontainers for gremlin-server and janusgraph

Скачать gremlin-server-testcontainer

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.rpuch.more-testcontainers/gremlin-server-testcontainer/ -->
<dependency>
    <groupId>com.rpuch.more-testcontainers</groupId>
    <artifactId>gremlin-server-testcontainer</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.rpuch.more-testcontainers/gremlin-server-testcontainer/
implementation 'com.rpuch.more-testcontainers:gremlin-server-testcontainer:1.0.0'
// https://jarcasting.com/artifacts/com.rpuch.more-testcontainers/gremlin-server-testcontainer/
implementation ("com.rpuch.more-testcontainers:gremlin-server-testcontainer:1.0.0")
'com.rpuch.more-testcontainers:gremlin-server-testcontainer:jar:1.0.0'
<dependency org="com.rpuch.more-testcontainers" name="gremlin-server-testcontainer" rev="1.0.0">
  <artifact name="gremlin-server-testcontainer" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.rpuch.more-testcontainers', module='gremlin-server-testcontainer', version='1.0.0')
)
libraryDependencies += "com.rpuch.more-testcontainers" % "gremlin-server-testcontainer" % "1.0.0"
[com.rpuch.more-testcontainers/gremlin-server-testcontainer "1.0.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.testcontainers : testcontainers jar 1.15.2
org.apache.tinkerpop : gremlin-driver Необязательный jar 3.4.10

test (4)

Идентификатор библиотеки Тип Версия
org.assertj : assertj-core jar 3.19.0
org.slf4j : slf4j-simple jar 1.7.30
org.testcontainers : junit-jupiter jar 1.15.2
org.junit.jupiter : junit-jupiter-engine jar 5.7.1

Модули Проекта

Данный проект не имеет модулей.

Maven Central Build Status codecov

More Testcontainers

This is collection of additional Test containers

gremlin-server

Maven

<dependency>
  <groupId>com.rpuch.more-testcontainers</groupId>
  <artifactId>gremlin-server-testcontainer</artifactId>
  <version>1.0.0</version>
  <scope>test</scope>
</dependency>

Gradle

testRuntime 'com.rpuch.more-testcontainers:gremlin-server-testcontainer:1.0.0'

Junit 5 test

@Testcontainers
class MyTest {
    @Container
    private GremlinServerContainer gremlinServer = new GremlinServerContainer();

    @Test
    void simpleTest() throws Exception {
        try (RemoteConnection connection = gremlinServer.openConnection()) {
            GraphTraversalSource g = AnonymousTraversalSource.traversal().withRemote(connection);

            long totalVertices = g.V().count().next();
            assertThat(totalVertices).isEqualTo(0);
        }
    }
}

JanusGraph

Maven

<dependency>
  <groupId>com.rpuch.more-testcontainers</groupId>
  <artifactId>janusgraph-testcontainer</artifactId>
  <version>1.0.0</version>
  <scope>test</scope>
</dependency>

Gradle

testRuntime 'com.rpuch.more-testcontainers:janusgraph-testcontainer:1.0.0'

Junit 5 test

@Testcontainers
class MyTest {
    @Container
    private JanusgraphContainer janusgraph = new JanusgraphContainer();

    @Test
    void simpleTest() throws Exception {
        try (RemoteConnection connection = janusgraph.openConnection()) {
            GraphTraversalSource g = AnonymousTraversalSource.traversal().withRemote(connection);

            long totalVertices = g.V().count().next();
            assertThat(totalVertices).isEqualTo(0);
        }
    }
}

Версии библиотеки

Версия
1.0.0