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:1.0.0") //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
}
dependencies {
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-core:1.0.0'
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-slack-notifier:0.1'
testImplementation 'nl.vanwollingen.alerticorn:alerticorn-junit:0.1'
}
<dependencies>
<dependency>
<groupId>nl.vanwollingen</groupId>
<artifactId>alerticorn-core</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.vanwollingen</groupId>
<artifactId>alerticorn-slack-notifier</artifactId>
<version>0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.vanwollingen</groupId>
<artifactId>alerticorn-junit</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.