Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: unit testing for diff-test-selection #980

Merged
merged 8 commits into from
Dec 21, 2020
Prev Previous commit
Next Next commit
fix: use now set property to skip checks
danglotb committed Dec 18, 2020

Verified

This commit was signed with the committer’s verified signature.
davorpa David Ordás
commit 16b3ee0212cfef7619a76851a8faa9c0af4b5540
Original file line number Diff line number Diff line change
@@ -36,10 +36,7 @@ public void instrumentAndRunTest(String pathToRootOfProject) {
pathToRootOfProject,
"clean",
"org.openclover:clover-maven-plugin:4.4.1:setup",
"test",
"-Drat.skip=true",
"-Djacoco.skip=true",
"-Danimal.sniffer.skip=true"
"test"
);
}

@@ -60,6 +57,7 @@ private int runGoals(String pathToRootOfProject, String... goals) {
properties.setProperty("findbugs.skip", "true");
properties.setProperty("gpg.skip", "true");
properties.setProperty("jacoco.skip", "true");
properties.setProperty("animal.sniffer.skip", "true");
request.setProperties(properties);

Invoker invoker = new DefaultInvoker();