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.
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.