Skip to content

Commit a403b17

Browse files
committed
Updated Failing test output. Does not include intentionally skipped tests
1 parent dd7762d commit a403b17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tck/environment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def before_scenario(context, scenario):
4343
def after_feature(context, feature):
4444
failed_scenarios = []
4545
for scenario in feature.scenarios:
46-
if scenario.status != "passed":
46+
if scenario.status == "untested" or scenario.status == "failed" :
4747
failed_scenarios.append(scenario.name)
4848
if len(failed_scenarios) > 0:
4949
failing_features[feature.name] = failed_scenarios
@@ -56,5 +56,5 @@ def after_all(context):
5656
print("Feature: %s" %feature)
5757
for scenario in list_of_scenarios:
5858
print("Failing scenario: %s" % scenario)
59-
raise Exception("TCK FAILED!")
59+
raise Exception("\tTCK FAILED!")
6060

0 commit comments

Comments
 (0)