Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 891 Bytes

File metadata and controls

31 lines (23 loc) · 891 Bytes

angles-java-client

Maven dependency

The angles java client has been published to the maven repository.

Simply add the following dependency to your POM:

<dependency>
  <groupId>com.github.angleshq</groupId>
  <artifactId>angles-junit5</artifactId>
  <version>1.0.31</version>
</dependency>

JUnit5

Extend with the AnglesJunit5Extension extension class in order to have the Junit test result logged into Angles. Optional Angles handled assertions are available at test level by instantiating AnglesJunit5Assert.

@ExtendWith(AnglesJUnit5Extension.class)

Using Assertions

In order to do assertions that are captured by the Angles dashboard, you can instantiate the AnglesJUnit5Assert at the test script level.

AnglesJUnit5Assert doAssert = new AnglesJUnit5Assert();

The Junit5 assert object wraps the Junit5 Assertions methods.