banditcpp / bandit

Human-friendly unit testing for C++11
https://banditcpp.github.io/bandit/
Other
259 stars 37 forks source link

Dark info reporter element not visible #149

Closed MartinDelille closed 4 years ago

MartinDelille commented 4 years ago

When using the --reporter=info along with the --colorizer=dark, the begin information are not visible.

In my terminal, I see:

begin
  [ PASS ] it can add
  [ PASS ] it can substract
end a calculator

instead of:

begin a calculator
  [ PASS ] it can add
  [ PASS ] it can substract
end a calculator

The information after begin are well written but since the color used is dark, it doesn't display.

sbeyer commented 4 years ago

--colorizer=dark uses dark colors for bright backgrounds, --colorizer=light uses bright colors for dark backgrounds. So this so far is a feature. Of course, you should see something, and I do: I see dark gray font (1) on my terminal emulator in Xorg with black background and (2) on my Linux tty (not in Xorg) with black background.

So I think you can solve the issue by just changing your color settings of your terminal emulator.

MartinDelille commented 4 years ago

Ok my bad!