update Cucumber.HtmlFormatter dependency#749
Conversation
|
The test failures so far are due to the mechanisms by which we're validating the HTML formatter output. Problem 1: Comparing Envelopes within the HTML Problem 2: HTML Validation is limited to validating the embedded envelopes payload only Proposed Approach to address these issues:
This more focused approach should result in a test suite that runs faster (fewer html comparisons as we're no longer attempting this for each CCK scenario). Since it is a set of dedicated tests, there will be less confusion regarding whether problems are related to ndjson or HTML. |
|
I think I get the problem. But we should postpone this to after v3. So for now, let's fix the tests somehow and let's schedule the big test refactoring for a bit later. |
…he 'expected' envelope stream that the HtmlFormatter has done. The serialized strings should then match.
|
I have modified the HTML validation suite such that the expected serialized Envelopes have the same encoding substitution as that performed by the HtmlFormatter. The string comparisons now pass. With the deferral of restructuring the tests and deferral of validation of the Html Customizations, this PR is ready for merge. |
🤔 What's changed?
⚡️ What's your motivation?
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
📋 Checklist:
This text was originally taken from the template of the Cucumber project, then edited by hand. You can modify the template here.