JuliaDocs / DocumenterTools.jl

Extra tools for setting up Documenter
Other
30 stars 19 forks source link

Make tests less noisy and actually test logging messages #94

Closed giordano closed 2 weeks ago

giordano commented 2 weeks ago

Could also make Pkg commands less noisy by passing io=devnull, but I don't know if you want to keep that visible in case something fails.

mortenpi commented 2 weeks ago

LGTM. Having the Pkg output on failures would be useful, and it's not that noisy, so I think it's fine to keep the output.

FWIW, in Documenter test, we use the @quietly macro which hides all output by default, but prints if there are any errors thrown: https://github.com/JuliaDocs/Documenter.jl/blob/a0257f939c2be20c7a68ecc02c4ada8210f29495/test/TestUtilities.jl#L46-L104