Open krzema12 opened 5 years ago
Idea: if the assertion fails, display a strict visualization, but not as a Kotlin code, but a 2D grid with axis markers.
Take into account the following edge cases:
Ideas on the message:
An alternative idea is to produce an image for each test, showing the visualization of both the actual function and the assertions.
Consider using:
For each failed test:
During working on a proof of concept, I hit "Error: URI Too Long" issue.
A stub of a helper project: https://github.com/krzema12/PlotAssertVisualizer
For example, the Kotlin code can be generated that shows a strict testcase for given axes parameters.