-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace aggregate with dependsOn for single task (#1452)
- Loading branch information
1 parent
f2f3394
commit c6d35ba
Showing
21 changed files
with
51 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/core/src/main/scala/stryker4s/model/InitialTestRunCoverageReport.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 4 additions & 8 deletions
12
modules/sbt/src/sbt-test/sbt-stryker4s/test-1/src/test/scala/example/ExampleTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
package example | ||
|
||
import org.scalatest.matchers.should.Matchers | ||
import org.scalatest.funspec.AnyFunSpec | ||
|
||
class ExampleTest extends AnyFunSpec with Matchers { | ||
describe("Person") { | ||
it("be able to drink with age 18") { | ||
Example.canDrink(18) should be(true) | ||
} | ||
class ExampleTest extends munit.FunSuite { | ||
test("be able to drink with age 18") { | ||
assert(Example.canDrink(18)) | ||
} | ||
|
||
} |
12 changes: 4 additions & 8 deletions
12
modules/sbt/src/sbt-test/sbt-stryker4s/test-1/src/test/scala/example/IgnoreMeTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
package example | ||
|
||
import org.scalatest.matchers.should.Matchers | ||
import org.scalatest.funspec.AnyFunSpec | ||
|
||
class IgnoreMeTest extends AnyFunSpec with Matchers { | ||
describe("Person") { | ||
it("not be able to drink with age 16") { | ||
fail("This test should never be run because of the test-filter") | ||
} | ||
class IgnoreMeTest extends munit.FunSuite { | ||
test("not be able to drink with age 16") { | ||
fail("This test should never be run because of the test-filter") | ||
} | ||
|
||
} |
21 changes: 9 additions & 12 deletions
21
modules/sbt/src/sbt-test/sbt-stryker4s/test-1/src/test/scala/example/TestObj1Spec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
package example | ||
|
||
import org.scalatest.flatspec.AnyFlatSpec | ||
import org.scalatest.matchers.should.Matchers | ||
|
||
class Spec extends AnyFlatSpec with Matchers { | ||
it should "check for a's in mutatesOkay" in { | ||
TestObj.mutatesOkay(" a ") shouldBe true | ||
TestObj.mutatesOkay(" b ") shouldBe false | ||
class Spec extends munit.FunSuite { | ||
test("check for a's in mutatesOkay") { | ||
assert(TestObj.mutatesOkay(" a ")) | ||
assert(!TestObj.mutatesOkay(" b ")) | ||
} | ||
|
||
it should "return false if a file does not exists" in { | ||
TestObj.test2("/home/blah/fake") shouldBe false | ||
test("return false if a file does not exists") { | ||
assert(!TestObj.test2("/home/blah/fake")) | ||
} | ||
|
||
it should "check for b's in alsoMutatesOkay" in { | ||
TestObj.alsoMutatesOkay(" b ") shouldBe true | ||
TestObj.alsoMutatesOkay(" a ") shouldBe false | ||
test("check for b's in alsoMutatesOkay") { | ||
assert(TestObj.alsoMutatesOkay(" b ")) | ||
assert(!TestObj.alsoMutatesOkay(" a ")) | ||
} | ||
|
||
} |
11 changes: 4 additions & 7 deletions
11
modules/sbt/src/sbt-test/sbt-stryker4s/test-1/src/test/scala/example/TestObj2Spec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
package example | ||
|
||
import org.scalatest.flatspec.AnyFlatSpec | ||
import org.scalatest.matchers.should.Matchers | ||
|
||
class Spec2 extends AnyFlatSpec with Matchers { | ||
it should "check the string" in { | ||
TestObj2.str("hi") shouldBe false | ||
TestObj2.str("blah") shouldBe true | ||
class Spec2 extends munit.FunSuite { | ||
test("check the string") { | ||
assert(!TestObj2.str("hi")) | ||
assert(TestObj2.str("blah")) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/sbtTestRunner/src/main/scala/stryker4s/sbt/testrunner/Context.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/sbtTestRunner/src/main/scala/stryker4s/sbt/testrunner/MessageHandler.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/sbtTestRunner/src/main/scala/stryker4s/sbt/testrunner/SbtTestRunnerMain.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/sbtTestRunner/src/main/scala/stryker4s/sbt/testrunner/TestInterfaceMapper.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/sbtTestRunner/src/main/scala/stryker4s/sbt/testrunner/TestRunner.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/testRunnerApi/src/main/protobuf/stryker4s/api/testprocess.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/testRunnerApi/src/main/scala/stryker4s/api/testprocess/CoverageReport.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/testRunnerApi/src/main/scala/stryker4s/api/testprocess/TestProcessProperties.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters