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.