JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
609 stars 251 forks source link

Feature request: `]test --quiet` (don't always dump the whole manifest on `Pkg.test()`) #3927

Open pbouffard opened 2 weeks ago

pbouffard commented 2 weeks ago

I find it annoying that ] test always dumps the whole manifest before running tests. I'm almost never interested in that info and it's just noise to me most of the time. If I was designing the feature in the first place I would have made this an optional switch ([--verbose] or maybe [-m|--manifest]) and not include it by default. But probably now people rely on having that output captured. So a switch like [--quiet] that suppresses that output would seem like the way to go.

I'll probably contribute the PR for this myself, it's probably a quick one, but I'm opening the issue in case it's already been discussed or is already out there in some existing PR.

KristofferC commented 2 weeks ago

The reason it is shown is that package versions during tests are not always the same as what you are running with in normal cases and you also have the extra test-specific dependencies and knowing the version of those is probably also useful. I agree that it is a bit verbose.