File tree 3 files changed +11
-2
lines changed
main/scala/org/scalasbt/jacoco
sbt-test/sbt-jacoco/simple
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ object JacocoItPlugin extends BaseJacocoPlugin with Merging {
68
68
(jacocoSourceSettings in ItJacoco ).value,
69
69
(streams in ItJacoco ).value
70
70
),
71
- jacocoReport in ItJacoco := ((jacocoReport in ItJacoco ) dependsOn conditionalMerge).value
71
+ jacocoReport in ItJacoco := ((jacocoReport in ItJacoco ) dependsOn conditionalMerge).value,
72
+ jacoco in IntegrationTest := (jacoco in ItJacoco ).value
72
73
)
73
74
}
Original file line number Diff line number Diff line change @@ -26,4 +26,9 @@ object JacocoPlugin extends BaseJacocoPlugin {
26
26
lazy val srcConfig : Configuration = Test
27
27
28
28
override def trigger : PluginTrigger = allRequirements
29
+
30
+ override def projectSettings : Seq [Setting [_]] = super .projectSettings ++ Seq (
31
+ jacoco in Compile := (jacoco in Jacoco ).value,
32
+ jacoco in Test := (jacoco in Jacoco ).value
33
+ )
29
34
}
Original file line number Diff line number Diff line change @@ -10,4 +10,7 @@ $ exists target/scala-2.10/jacoco/classes
10
10
$ exists target/scala-2.10/jacoco/jacoco.exec
11
11
12
12
# html report
13
- $ exists target/scala-2.10/jacoco/html/index.html
13
+ $ exists target/scala-2.10/jacoco/html/index.html
14
+
15
+ # testing using jacoco alias - should still fail
16
+ -> jacoco
You can’t perform that action at this time.
0 commit comments