Skip to content

Commit cdeacd9

Browse files
authored
Added python function name to logging (#1842) (#1843)
1 parent 784c6b0 commit cdeacd9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utbot-python/src/main/kotlin/org/utbot/python/PythonTestCaseGenerator.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ class PythonTestCaseGenerator(
164164
val typeInferenceCancellation =
165165
{ isCancelled() || System.currentTimeMillis() >= until || missingLines?.size == 0 }
166166

167+
logger.info("Start test generation for ${method.name}")
167168
substituteTypeParameters(method, typeStorage).forEach { newMethod ->
168169
inferAnnotations(
169170
newMethod,
@@ -226,7 +227,7 @@ class PythonTestCaseGenerator(
226227
}
227228
}
228229

229-
230+
logger.info("Collect all test executions for ${method.name}")
230231
val (successfulExecutions, failedExecutions) = executions.partition { it.result is UtExecutionSuccess }
231232

232233
return PythonTestSet(
@@ -301,4 +302,4 @@ class PythonTestCaseGenerator(
301302
algo.run(hintCollector.result, isCancelled, annotationHandler)
302303
}
303304
}
304-
}
305+
}

0 commit comments

Comments
 (0)