You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception in Error message with saving test generation report when an empty test class is generated #1425
Error message should not be shown - especially with exception stack trace.
Actual behavior
Error message Failed to save tests report is shown with java.lang.IllegalStateException No executables found in test report stack trace.
Visual proofs (screenshots, logs, images)
Cannotsavetestsgenerationreport: erroroccurred 'No executables found in test report, reason: java.lang.IllegalStateException: No executables found in test report
atorg.utbot.framework.codegen.reports.TestsGenerationReport.getClassUnderTest(TestsGenerationReport.kt:24)
atorg.utbot.framework.codegen.reports.TestsGenerationReport.toString(TestsGenerationReport.kt:76)
atorg.utbot.framework.process.EngineMainKt$setup$10.invoke(EngineMain.kt:205)
atorg.utbot.framework.process.EngineMainKt$setup$10.invoke(EngineMain.kt:193)
atorg.utbot.rd.CallsSynchronizer$measureExecutionForTermination$1$1.invoke(ClientProcessUtil.kt:84)
atorg.utbot.rd.CallsSynchronizer.measureExecutionForTermination(ClientProcessUtil.kt:75)
atorg.utbot.rd.CallsSynchronizer$measureExecutionForTermination$1.invoke(ClientProcessUtil.kt:83)
atcom.jetbrains.rd.framework.IRdEndpoint$set$1.invoke(TaskInterfaces.kt:182)
atcom.jetbrains.rd.framework.IRdEndpoint$set$1.invoke(TaskInterfaces.kt:182)
atcom.jetbrains.rd.framework.impl.RdCall.onWireReceived(RdTask.kt:360)
atcom.jetbrains.rd.framework.MessageBroker$invoke$2$2.invoke(MessageBroker.kt:57)
atcom.jetbrains.rd.framework.MessageBroker$invoke$2$2.invoke(MessageBroker.kt:56)
atcom.jetbrains.rd.framework.impl.ProtocolContexts.readMessageContextAndInvoke(ProtocolContexts.kt:148)
atcom.jetbrains.rd.framework.MessageBroker$invoke$2.invoke(MessageBroker.kt:56)
atcom.jetbrains.rd.framework.MessageBroker$invoke$2.invoke(MessageBroker.kt:54)
atcom.jetbrains.rd.util.threading.SingleThreadSchedulerBase.queue$lambda-3(SingleThreadScheduler.kt:41)
atjava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
atjava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
atjava.base/java.lang.Thread.run(Thread.java:829)
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3
Gradle project
JDK 11
changed the title [-]Exception in Error message with saving SARIF report when an empty test class is generated [/-][+]Exception in Error message with saving test generation report when an empty test class is generated [/+]on Dec 26, 2022
Activity
alisevych commentedon Dec 7, 2022
Reproducing with the following code and default settings:
In this case - absolutely empty test class is generated - without comments.
[-]Exception in Error message with saving SARIF report when an empty test class is generated [/-][+]Exception in Error message with saving test generation report when an empty test class is generated [/+]Fix error tests handling in reporting #1425 (#1597)
Fix error tests handling in reporting #1425 (#1597)