Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.59 KB

File metadata and controls

38 lines (25 loc) · 1.59 KB

Maven Central

⚠️ This is an internal package; you don't need to install it in order to use the TeamCity Formatter.

TeamCity Formatter

Interspaces Cucumbers output with TeamCity Service Messages. This enables IntelliJ IDEA to render all Cucumber scenarios in a tree-diagram.

Screenshot From 2025-09-12 15-30-43

Features and Limitations

Print expected and actual values

For supported framework the output include the expected and actual value of an assertion.

Framework AssertionError produced by
Hamcrest 3 MatcherAssert.assertThat(*, equalTo(*))
AssertJ 3 Assertions.assertThat(*).isEqualTo(*)
JUnit 5 Assertions.assertEquals
JUnit 4 Assert.assertEquals
TestNG 7 Assert.assertEquals

Parallel execution

The Service Message format does not support parallel execution. As a workaround, the formatter supports writing the messages for the entire test execution after the test execution has completed.

Messages will be written in canonical order i.e. features will be listed in lexical uri order, scenarios from top to bottom.