Interspaces Cucumbers output with TeamCity Service Messages. This enables IntelliJ IDEA to render all Cucumber scenarios in a tree-diagram.
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 |
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.