Skip to content

JUnit 5 test listener that reports to GitHub commands so failures can be seen as code annotations

Notifications You must be signed in to change notification settings

zregvart/junit-github-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Central

How to use

Add as a test dependency

For example when using Maven:

<dependency>
  <groupId>io.github.zregvart</groupId>
  <artifactId>junit-github-reporter</artifactId>
  <version>${junit-github-reporter.version}</version>
  <scope>test</scope>
</dependency>

Add it as an additional classpath element

Strict dependency checks will find the junit-github-reporter as unused, then add to Surefire's classpath using this:

<plugin>
  <artifactId>maven-surefire-plugin</artifactId>
  <configuration>
    <additionalClasspathElements>
      <additionalClasspathElement>${settings.localRepository}/io/github/zregvart/junit-github-reporter/${junit-github-reporter.version}/junit-github-reporter-${junit-github-reporter.version}.jar</additionalClasspathElement>
    </additionalClasspathElements>
  </configuration>
  <dependencies>
    <dependency>
      <groupId>io.github.zregvart</groupId>
      <artifactId>junit-github-reporter</artifactId>
      <version>${junit-github-reporter.version}</version>
    </dependency>
  </dependencies>
</plugin>

Release

To release run:

$ ./mvnw clean deploy -Pbasepom.oss-release

About

JUnit 5 test listener that reports to GitHub commands so failures can be seen as code annotations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages