Skip to content

Use a message based PrettyFormatter #3012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Jul 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- [JUnit Platform Engine] Use JUnit's `EngineDiscoveryRequestResolver` to resolve classpath based resources. ([#2835](https://github.com/cucumber/cucumber-jvm/pull/2835) M.P. Korstanje)
- [JUnit Platform Engine] Use JUnit Platform 1.13.3 (JUnit Jupiter 5.13.3)
- [Core] Use a message based [Pretty Formatter](https://github.com/cucumber/pretty-formatter) ([#2835](https://github.com/cucumber/cucumber-jvm/pull/3012) M.P. Korstanje)
- [Core] Update dependency io.cucumber:gherkin to v33.0.0
- [Core] Update dependency io.cucumber:messages to v28.0.0
- [Core] Update dependency io.cucumber:messages to v28.2.0
- [Core] Update dependency io.cucumber:html-formatter to v21.13.0
- [Core] Update dependency io.cucumber:junit-xml-formatter to v0.8.0
- [Core] Update dependency io.cucumber:query to v13.4.0
- [Core] Update dependency io.cucumber:testng-xml-formatter to v0.4.1

### Fixed
- [JUnit Platform Engine] Log discovery issues for feature files with parse errors. ([#2835](https://github.com/cucumber/cucumber-jvm/pull/2835) M.P. Korstanje)
Expand Down
14 changes: 10 additions & 4 deletions cucumber-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
<ci-environment.version>10.0.1</ci-environment.version>
<cucumber-expressions.version>18.0.1</cucumber-expressions.version>
<gherkin.version>33.0.0</gherkin.version>
<html-formatter.version>21.12.0</html-formatter.version>
<junit-xml-formatter.version>0.7.1</junit-xml-formatter.version>
<html-formatter.version>21.13.0</html-formatter.version>
<junit-xml-formatter.version>0.8.0</junit-xml-formatter.version>
<messages.version>28.0.0</messages.version>
<query.version>13.3.0</query.version>
<pretty-formatter.version>0.2.0</pretty-formatter.version>
<query.version>13.4.0</query.version>
<tag-expressions.version>6.1.2</tag-expressions.version>
<testng-xml-formatter.version>0.3.1</testng-xml-formatter.version>
<testng-xml-formatter.version>0.4.0</testng-xml-formatter.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -57,6 +58,11 @@
<artifactId>messages</artifactId>
<version>${messages.version}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>pretty-formatter</artifactId>
<version>${pretty-formatter.version}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>query</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions cucumber-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
<groupId>io.cucumber</groupId>
<artifactId>messages</artifactId>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>pretty-formatter</artifactId>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>testng-xml-formatter</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ final class AnsiEscapes {
static final AnsiEscapes DEFAULT = color(9);
static final AnsiEscapes GREY = color(90);
static final AnsiEscapes INTENSITY_BOLD = color(1);
static final AnsiEscapes INTENSITY_BOLD_OFF = color(22);
static final AnsiEscapes UNDERLINE = color(4);
private static final char ESC = 27;
private static final char BRACKET = '[';
Expand Down
Loading