From 8a39d484e713a744a5869a2ba94eeb694a9d9e15 Mon Sep 17 00:00:00 2001 From: Vyacheslav Tamarin Date: Wed, 22 Feb 2023 18:44:59 +0300 Subject: [PATCH] Add logging --- .../main/kotlin/org/utbot/python/PythonTestCaseGenerator.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utbot-python/src/main/kotlin/org/utbot/python/PythonTestCaseGenerator.kt b/utbot-python/src/main/kotlin/org/utbot/python/PythonTestCaseGenerator.kt index 6187355209..341ca7bcf9 100644 --- a/utbot-python/src/main/kotlin/org/utbot/python/PythonTestCaseGenerator.kt +++ b/utbot-python/src/main/kotlin/org/utbot/python/PythonTestCaseGenerator.kt @@ -110,6 +110,7 @@ class PythonTestCaseGenerator( var generated = 0 val typeInferenceCancellation = { isCancelled() || System.currentTimeMillis() >= until || missingLines?.size == 0 } + logger.info("Start test generation for ${method.name}") inferAnnotations( method, mypyStorage, @@ -169,7 +170,7 @@ class PythonTestCaseGenerator( feedback } - + logger.info("Collect all test executions for ${method.name}") val (successfulExecutions, failedExecutions) = executions.partition { it.result is UtExecutionSuccess } return PythonTestSet( @@ -244,4 +245,4 @@ class PythonTestCaseGenerator( algo.run(hintCollector.result, isCancelled, annotationHandler) } } -} \ No newline at end of file +}