Plot recipes can reduce the test coverage considerably. For example, my coverage is currently at 76% and a big part of the remaining 24% is due to a plot recipe: Codecov
How should I go about testing plot recipes? Is there any way to design meaningful tests without human interaction?
@tbreloff I really like the idea of VisualRegressionTests.jl, but apparently I am missing something about how it works. As you can see, the recipe itself is not covered by the tests that I wrote: Codecov
For the record, this is what I ended up doing for testing plot recipes Measurements.jl:
Note that this is using some internals of RecipesBase.jl, so use it at your own risk
Sorry for necroposting, but I see that this thread comes is among first results when searching for plotting tests in Julia, so I thought it could be useful to point out this option.