Skip to content

Commit

Permalink
Merge pull request #363 from JetBrains-Research/izaitsev/bugs/360-hea…
Browse files Browse the repository at this point in the history
…dless-output

Incorrect output in headless mode
  • Loading branch information
arksap2002 authored Sep 30, 2024
2 parents b62a166 + 44bec98 commit b991154
Showing 1 changed file with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,18 +194,20 @@ class TestSparkStarter : ApplicationStarter {
)

// Check test Generation Output
if (uiContext != null && runCoverage) {
if (uiContext != null) {
println("[TestSpark Starter] Test generation completed successfully")
// Run test file
runTestsWithCoverageCollection(
project,
output,
packageList,
classPath,
projectContext,
projectSDKPath,
testCompiler,
)
if (runCoverage) {
runTestsWithCoverageCollection(
project,
output,
packageList,
classPath,
projectContext,
projectSDKPath,
testCompiler,
)
}
} else {
println("[TestSpark Starter] Test generation failed")
}
Expand Down

0 comments on commit b991154

Please sign in to comment.