How do I change the colors for all the different elements in the output of Pkg.test()?
I’ve tried setting the environment variables in Environment Variables · The Julia Language, but they don’t seem to have the desired effect. Moreover, I’m not sure what is what. The “Fail” is probably “JULIA_ERROR_COLOR” and the “Total” might be “JULIA_INFO_COLOR”, but what is “Pass”, “Broken”, and the light gray text in the top left?
Also, generally speaking, it would be really great if Julia didn’t default to colors that only work in a dark background terminal. I know this is difficult with 16 color terminals, but maybe it could detect if it runs in at least a 256 color environment. There, it should be possible to choose default colors that work equally well on a light and dark background.
Right… since I have the color overwrites in my startup.jl file, the key is to explicitly start the julia with --startup-file=yes. In that case, Pkg.test also picks up the startup file and thus the patched colors. This is actually explained in ?Pkg.test