Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void should_detect_changes_on_maven_modules_and_execute_test() {

// when
final TestResults actualTestResults = project
.build()
.build("config/impl-base")
.options()
.withSystemProperties("scm.range.head", "HEAD", "scm.range.tail", "HEAD~")
.configure()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.arquillian.smart.testing.rules.TestBed;
import org.arquillian.smart.testing.ftest.testbed.testresults.TestResult;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void should_only_execute_tests_related_to_single_local_change_in_producti
.applyAsLocalChanges("Single method body modification - sysout");

// when
final TestResults actualTestResults = project.build().run();
final TestResults actualTestResults = project.build("config/impl-base").run();

// then
assertThat(actualTestResults.accumulatedPerTestClass()).containsAll(expectedTestResults).hasSameSizeAs(expectedTestResults);
Expand All @@ -58,7 +58,7 @@ public void should_only_execute_tests_related_to_multiple_local_changes_in_produ
"Inlined variable in a method");

// when
final TestResults actualTestResults = project.build().run();
final TestResults actualTestResults = project.build("config/impl-base").run();

// then
assertThat(actualTestResults.accumulatedPerTestClass()).containsAll(expectedTestResults).hasSameSizeAs(expectedTestResults);
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void should_only_execute_previously_failing_tests_when_failed_is_enabled(
project.applyAsCommits("Introduces error by changing return value");

project
.build()
.build("container/impl-base")
.options()
.ignoreBuildFailure()
.configure()
Expand All @@ -49,7 +49,7 @@ public void should_only_execute_previously_failing_tests_when_failed_is_enabled(


// when
final TestResults actualTestResults = project.build().run();
final TestResults actualTestResults = project.build("container/impl-base").run();

// then
assertThat(actualTestResults.accumulatedPerTestClass()).containsAll(expectedTestResults).hasSameSizeAs(expectedTestResults);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void should_execute_all_new_tests_and_related_to_production_code_changes(
"Inlined variable in a method", "Adds new unit test");

// when
final TestResults actualTestResults = project.build().run();
final TestResults actualTestResults = project.build("config/impl-base").run();

// then
assertThat(actualTestResults.accumulatedPerTestClass()).containsAll(expectedTestResults).hasSameSizeAs(expectedTestResults);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void should_only_execute_new_tests_related_to_single_local_change() throw
.applyAsLocalChanges("Adds new unit test");

// when
final TestResults actualTestResults = project.build().run();
final TestResults actualTestResults = project.build("config/impl-base").run();

// then
assertThat(actualTestResults.accumulatedPerTestClass()).containsAll(expectedTestResults).hasSameSizeAs(expectedTestResults);
Expand All @@ -61,7 +61,7 @@ public void should_only_execute_new_tests_related_to_single_local_change_using_f
.applyAsLocalChanges("Adds new unit test");

// when
final TestResults actualTestResults = project.build().run("clean", "verify");
final TestResults actualTestResults = project.build("config/impl-base").run("clean", "verify");

// then
assertThat(actualTestResults.accumulatedPerTestClass()).containsAll(expectedTestResults).hasSameSizeAs(expectedTestResults);
Expand Down