Closed markstein closed 2 months ago
I'm also curious as to what a "detailed error message" would be in case of pending, given it is supposed to just mean the step isn't implemented yet.
@davidjgoss thanks for taking the time for the review.
yes, we use it as a callback variant in the afterStep hook. We use the pending status partly for integration tests that are currently "unstable" due to instability in external systems. However, other sources of error could possibly arise, which would then be recognized based on the error message.
Furthermore, if you look at the Java implementation (which is not necessarily relevant), but the behavior reflects: https://github.com/cucumber/cucumber-jvm/blob/6549826da802dbf031b89590d2cf4bbdeb36fc3c/cucumber-core/src/main/java/io/cucumber/core/plugin/JsonFormatter.java#L317
Based on json result, the error message is then displayed in the html report.
🤔 What's changed?
By evaluating the runs, it is sometimes helpful to see the detailed error message even for steps that are pending.
⚡️ What's your motivation?
The error message is also output for steps that have the status pending #2392
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.