Skip to content

Commit cecf1bb

Browse files
gjmwoodsPeter Wilhelmsson
and
Peter Wilhelmsson
authored
4.2 TestKit Backend (#761)
This change introduces a testing component that allows for tests to be written once in a central repo (https://github.com/neo4j-drivers/testkit) and then executed for each driver. The build produces an executable server that acts as the intermediatory with TestKit. Co-authored-by: Peter Wilhelmsson <[email protected]>
1 parent 171a7e7 commit cecf1bb

File tree

7 files changed

+669
-0
lines changed

7 files changed

+669
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<modules>
2929
<module>driver</module>
3030
<module>examples</module>
31+
<module>testkit-backend</module>
3132
</modules>
3233

3334
<licenses>

testkit-backend/pom.xml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<parent>
6+
<artifactId>neo4j-java-driver-parent</artifactId>
7+
<groupId>org.neo4j.driver</groupId>
8+
<version>4.2-SNAPSHOT</version>
9+
</parent>
10+
<modelVersion>4.0.0</modelVersion>
11+
12+
<properties>
13+
<rootDir>${project.basedir}/..</rootDir>
14+
</properties>
15+
16+
<artifactId>testkit-backend</artifactId>
17+
18+
<name>Neo4j Java Driver Testkit Backend</name>
19+
<description>Integration component for use with Testkit</description>
20+
21+
<dependencies>
22+
<dependency>
23+
<groupId>org.neo4j.driver</groupId>
24+
<artifactId>neo4j-java-driver</artifactId>
25+
<version>${project.version}</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.fasterxml.jackson.core</groupId>
29+
<artifactId>jackson-core</artifactId>
30+
<version>2.11.0</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.fasterxml.jackson.core</groupId>
34+
<artifactId>jackson-databind</artifactId>
35+
<version>2.11.0</version>
36+
</dependency>
37+
</dependencies>
38+
39+
<build>
40+
<plugins>
41+
<plugin>
42+
<groupId>org.apache.maven.plugins</groupId>
43+
<artifactId>maven-shade-plugin</artifactId>
44+
<version>3.2.4</version>
45+
<executions>
46+
<execution>
47+
<phase>package</phase>
48+
<goals>
49+
<goal>shade</goal>
50+
</goals>
51+
<configuration>
52+
<transformers>
53+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
54+
<mainClass>Runner</mainClass>
55+
</transformer>
56+
</transformers>
57+
<finalName>testkit-backend</finalName>
58+
</configuration>
59+
</execution>
60+
</executions>
61+
</plugin>
62+
</plugins>
63+
</build>
64+
65+
</project>

0 commit comments

Comments
 (0)