Skip to content

Commit

Permalink
API Coverage min threshold should be verified at all times
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrishnan83 committed Jun 8, 2024
1 parent 854878f commit 0d95363
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ open class SpecmaticJUnitSupport {
@AfterAll
@JvmStatic
fun report() {
if (openApiCoverageReportInput.areTestResultsEmpty()) {
return
}
val reportProcessors = listOf(OpenApiCoverageReportProcessor(openApiCoverageReportInput))
reportProcessors.forEach { it.process(getReportConfiguration()) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ class OpenApiCoverageReportInput(
testResultRecords.add(testResultRecord)
}

fun areTestResultsEmpty(): Boolean {
return testResultRecords.isEmpty()
}

fun addAPIs(apis: List<API>) {
applicationAPIs.addAll(apis)
}
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.3.23
version=1.3.24

0 comments on commit 0d95363

Please sign in to comment.