Installation
At the very least, Alerticorn needs its core library and a notifier. Optionally (though recommended), you can add a dependency for integration with your test framework.
- build.gradle.kts
- build.gradle
- pom.xml
dependencies {
testImplementation("nl.vanwollingen.alerticorn:alerticorn-core:0.1") //Always required
testImplementation("nl.vanwollingen.alerticorn:alerticorn-slack-notifier:0.1") //To use Slack
testImplementation("nl.vanwollingen.alerticorn:alerticorn-junit:0.1") //Optional: to integrate with JUnit
testImplementation("nl.vanwollingen.alerticorn:alerticorn-testng:0.1") //Optional: to integrate with TestNG
testImplementation("nl.vanwollingen.alerticorn:alerticorn-kotest:0.1") //Optional: to integrate with Kotest
}
dependencies {
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-core:0.1'
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-slack-notifier:0.1'
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-junit:0.1'
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-testng:0.1'
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-kotest:0.1'
}
<dependencies>
<dependency>
<groupId>nl.vanwollingen.alerticorn</groupId>
<artifactId>alerticorn-core</artifactId>
<version>0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.vanwollingen.alerticorn</groupId>
<artifactId>alerticorn-slack-notifier</artifactId>
<version>0.1</version>
<scope>test</scope>
</dependency>
<!-- Choose one of the following based on your test framework -->
<dependency>
<groupId>nl.vanwollingen.alerticorn</groupId>
<artifactId>alerticorn-junit</artifactId>
<version>0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.vanwollingen.alerticorn</groupId>
<artifactId>alerticorn-testng</artifactId>
<version>0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.vanwollingen.alerticorn</groupId>
<artifactId>alerticorn-kotest</artifactId>
<version>0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Test Scope Imports
Note that if you plan to use Alerticorn in production, you have to import the dependencies as implementation instead.