Skip to content

Highlight differences between expected and actual values #9

@haraldmaida

Description

@haraldmaida

Highlighting the differences between expected and actual values would greatly help with spotting the differences and finding the reason why an assertions fails.

The proposal is to display the expected and actual values with highlighted differences using two colors. One color for highlighting expected values (or parts of it) for values that are missing in the actual value. A second color for highlighting actual values (or parts of it) for values that are unexpected.

It should be possible to configure different color pairs on a per developer basis, e.g. via an environment variable. For code basis where several developers are working on each developer can configure a different color pair to his/her liking.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions