Skip to content

Commit 488b856

Browse files
committed
WIP
1 parent 340fb02 commit 488b856

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/java/io/cucumber/core/plugin/TeamCityPluginTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void should_print_error_message_for_failed_steps() {
9494
String formatterOutput = runFeaturesWithFormatter();
9595

9696
assertThat(formatterOutput, containsString("" +
97-
"##teamcity[testFailed timestamp = '1970-01-01T12:00:00.000+0000' duration = '0' message = 'the message' name = 'first step']\n"
97+
"##teamcity[testFailed timestamp = '1970-01-01T12:00:00.000+0000' duration = '0' message = 'Step failed' details = 'the stack trace' name = 'first step']\n"
9898
));
9999
}
100100

@@ -114,7 +114,7 @@ void should_print_error_message_for_before_hooks() {
114114

115115
assertThat(formatterOutput, containsString("" +
116116
"##teamcity[testStarted timestamp = '1970-01-01T12:00:00.000+0000' locationHint = 'java:test://HookDefinition.java:3' captureStandardOutput = 'true' name = 'Before']\n" +
117-
"##teamcity[testFailed timestamp = '1970-01-01T12:00:00.000+0000' duration = '0' message = 'the message' name = 'Before']"
117+
"##teamcity[testFailed timestamp = '1970-01-01T12:00:00.000+0000' duration = '0' message = 'Step failed' details = 'the stack trace' name = 'Before']\n"
118118
));
119119
}
120120

0 commit comments

Comments
 (0)