File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
main/java/io/cucumber/core/plugin
test/java/io/cucumber/core/plugin Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
10
10
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
11
11
12
12
## [ Unreleased]
13
+ ### Changed
14
+ - [ Core] Add status icons to pretty formatter ([ pretty-formatter/#5 ] ( https://github.com/cucumber/pretty-formatter/pull/5 ) )
13
15
14
16
## [ 7.24.0] - 2025-07-07
15
17
### Added
Original file line number Diff line number Diff line change 19
19
<html-formatter .version>21.13.0</html-formatter .version>
20
20
<junit-xml-formatter .version>0.8.0</junit-xml-formatter .version>
21
21
<messages .version>28.0.0</messages .version>
22
- <pretty-formatter .version>0.2 .0</pretty-formatter .version>
23
- <query .version>13.4 .0</query .version>
22
+ <pretty-formatter .version>0.3 .0</pretty-formatter .version>
23
+ <query .version>13.5 .0</query .version>
24
24
<tag-expressions .version>6.1.2</tag-expressions .version>
25
25
<testng-xml-formatter .version>0.4.0</testng-xml-formatter .version>
26
26
</properties >
Original file line number Diff line number Diff line change 13
13
import static io .cucumber .prettyformatter .MessagesToPrettyWriter .PrettyFeature .INCLUDE_FEATURE_LINE ;
14
14
import static io .cucumber .prettyformatter .MessagesToPrettyWriter .PrettyFeature .INCLUDE_RULE_LINE ;
15
15
import static io .cucumber .prettyformatter .Theme .cucumber ;
16
- import static io .cucumber .prettyformatter .Theme .none ;
16
+ import static io .cucumber .prettyformatter .Theme .plain ;
17
17
18
18
/**
19
19
* Prints a pretty report of the scenario execution as it happens.
@@ -62,7 +62,7 @@ private void write(Envelope event) {
62
62
@ Override
63
63
public void setMonochrome (boolean monochrome ) {
64
64
if (monochrome ) {
65
- writer = createBuilder ().theme (none ()).build (out );
65
+ writer = createBuilder ().theme (plain ()).build (out );
66
66
}
67
67
}
68
68
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ void writes_pretty_report() {
44
44
assertThat (out , bytes (equalCompressingLineSeparators ("" +
45
45
"\n " +
46
46
"Scenario: scenario name # path/test.feature:2\n " +
47
- " Given first step # io.cucumber.core.plugin.PrettyFormatterStepDefinition.one()\n " +
48
- " When second step # io.cucumber.core.plugin.PrettyFormatterStepDefinition.two()\n " +
49
- " Then third step # io.cucumber.core.plugin.PrettyFormatterStepDefinition.three()\n " )));
47
+ " ✔ Given first step # io.cucumber.core.plugin.PrettyFormatterStepDefinition.one()\n " +
48
+ " ✔ When second step # io.cucumber.core.plugin.PrettyFormatterStepDefinition.two()\n " +
49
+ " ✔ Then third step # io.cucumber.core.plugin.PrettyFormatterStepDefinition.three()" )));
50
50
}
51
51
}
You can’t perform that action at this time.
0 commit comments