Added tests

This commit is contained in:
Erik C. Thauvin 2023-08-11 19:50:04 -07:00
parent 26c1f11e84
commit 541ed74d9f
7 changed files with 68 additions and 35 deletions

View file

@ -8,6 +8,7 @@ import java.io.IOException;
import java.util.List;
import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
import static rife.bld.dependencies.Repository.MAVEN_LOCAL;
import static rife.bld.dependencies.Scope.test;
public class ExamplesBuild extends Project {
@ -16,7 +17,7 @@ public class ExamplesBuild extends Project {
name = "Examples";
version = version(0, 1, 0);
repositories = List.of(MAVEN_CENTRAL);
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL);
scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 3)))
@ -26,13 +27,6 @@ public class ExamplesBuild extends Project {
public static void main(String[] args) {
new ExamplesBuild().start(args);
}
// @Override
// public void test() throws Exception {
// super.test();
// jacoco();
// }
@BuildCommand(summary = "Generates Jacoco Reports")
public void jacoco() throws IOException {
new JacocoReportOperation()