File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -466,8 +466,11 @@ function Identify-RunStatus-Java {
466466 if ($passed -gt 0 ) {
467467 Log- Line " ✅ Success: $passed test(s) passed." $NOW_RUN_LOG_FILE
468468 return $true
469+ } else {
470+ Log- Line " ❌ Failed: $passed test(s) passed." $NOW_RUN_LOG_FILE
471+ return $false
469472 }
470- return $false
473+
471474}
472475
473476function Identify-RunStatus-Python {
@@ -480,8 +483,11 @@ function Identify-RunStatus-Python {
480483 if ($passedSum -gt 0 ) {
481484 Log- Line " ✅ Success: $passedSum test(s) passed." $NOW_RUN_LOG_FILE
482485 return $true
486+ } else {
487+ Log- Line " ❌ Failed: $passedSum test(s) passed." $NOW_RUN_LOG_FILE
488+ return $false
483489 }
484- return $false
490+
485491}
486492
487493function Identify-RunStatus-NodeJS {
@@ -492,8 +498,11 @@ function Identify-RunStatus-NodeJS {
492498 if ($match.Success -and [int ]$match.Groups [1 ].Value -gt 0 ) {
493499 Log- Line " ✅ Success: $ ( $match.Groups [1 ].Value) test(s) passed." $NOW_RUN_LOG_FILE
494500 return $true
501+ } else {
502+ Log- Line " ❌ Failed: 0 test(s) passed." $NOW_RUN_LOG_FILE
503+ return $false
495504 }
496- return $false
505+
497506}
498507
499508# ===== Setup Environment Wrapper =====
You can’t perform that action at this time.
0 commit comments