Skip to content

Commit 6c7427f

Browse files
committed
Fix expected number of generated methods counter
1 parent a2883ee commit 6c7427f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utbot-framework/src/test/kotlin/org/utbot/framework/codegen/TestCodeGeneratorPipeline.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class TestCodeGeneratorPipeline(private val testFrameworkConfiguration: TestFram
107107
if (isParametrizedAndMocked) 0
108108
else when (parametrizedTestSource) {
109109
ParametrizedTestSource.DO_NOT_PARAMETRIZE -> testSets.sumOf { it.executions.size }
110-
ParametrizedTestSource.PARAMETRIZE -> testSets.size
110+
ParametrizedTestSource.PARAMETRIZE -> testSets.filter { it.executions.isNotEmpty() }.size
111111
}
112112

113113
// check for error in the generated file

0 commit comments

Comments
 (0)