File tree 4 files changed +0
-21
lines changed
core/src/test/scala/com/cloudant/ziose/core
4 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,7 @@ all-tests: test zeunit
134
134
135
135
.PHONY : test
136
136
# target: test - Run all Scala tests
137
- # coverage is commented out due to conflict in dependencies it can be enabled
138
- # when we update zio-config
139
137
test : build $(ARTIFACTS_DIR )
140
- @# sbt clean coverage test
141
138
@sbt clean test
142
139
@$(call to_artifacts,test-reports)
143
140
@@ -159,17 +156,6 @@ check-deps: build $(ARTIFACTS_DIR)
159
156
@find .
160
157
@$(call to_artifacts,dependency-check-report.* )
161
158
162
- .PHONY : cover
163
- # target: cover - Generate code coverage report, options: TEST=<sub-project>
164
- cover : build
165
- ifeq ($(TEST ) ,)
166
- @sbt coverage +test +coverageReport +coverageAggregate
167
- @open target/scala-$(SCALA_SHORT_VERSION)/scoverage-report/index.html
168
- else
169
- @sbt coverage +${TEST}/test +${TEST}/coverageReport
170
- @open ${TEST}/target/scala-$(SCALA_SHORT_VERSION)/scoverage-report/index.html
171
- endif
172
-
173
159
.PHONY : meta
174
160
meta : build $(ARTIFACTS_DIR )
175
161
@sbt makeBom
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ lazy val commonSettings = Seq(
72
72
if (sys.props.getOrElse(" jartest" , " false" ).toBoolean) (Test / fullClasspath).value else Seq ()
73
73
),
74
74
assemblyPackageScala / assembleArtifact := false ,
75
- coverageEnabled := true ,
76
75
testFrameworks := Seq (new TestFramework (" com.novocode.junit.JUnitFramework" )),
77
76
dependencyCheckAssemblyAnalyzerEnabled := Some (false ),
78
77
dependencyCheckFormats := Seq (" XML" , " JSON" ),
Original file line number Diff line number Diff line change 1
- /*
2
- * $ sbt coverage "testOnly com.cloudant.ziose.core.RegistrySpec"
3
- * $ sbt coverageReport "testOnly com.cloudant.ziose.core.RegistrySpec"
4
- * $ open core/target/scala-2.13/scoverage-report/index.html
5
- */
6
1
package com .cloudant .ziose .core
7
2
8
3
import org .junit .runner .RunWith
Original file line number Diff line number Diff line change @@ -4,5 +4,4 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
4
4
addSbtPlugin(" io.github.siculo" %% " sbt-bom" % " 0.3.0" )
5
5
addSbtPlugin(" net.vonbuchholtz" % " sbt-dependency-check" % " 5.1.0" )
6
6
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.2" )
7
- addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 2.0.9" )
8
7
// addSbtPlugin("uk.co.josephearl" % "sbt-findbugs" % "2.0.0")
You can’t perform that action at this time.
0 commit comments