Setup testing of FunctionGraph¶
Installation¶
The com.opentelekomcloud:opentelekomcloud-functiongraph-java-test module provides tools for testing.
To install this module, add following dependencies to your pom.xml:
<dependencies>
...
<dependency>
<groupId>io.github.opentelekomcloud</groupId>
<artifactId>opentelekomcloud-functiongraph-java-test</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
...
</dependencies>
also have maven-surefire-plugin in your pom.xml:
<build>
...
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>{SEE: pom.xml}</version>
</plugin>
</plugins>
...
</build>