A pytest-inspired, DAST framework, capable of identifying vulnerabilities in a distributed, micro-service ecosystem through chaos engineering testing and stateful, Swagger fuzzing.
Other
205
stars
25
forks
source link
Disable color printing when not printing to terminal #51
ANSI colorization is only good if the output is to a terminal. When it goes into a file instead, the ANSI color codes makes it hard to read. This fixes that.
Summary
ANSI colorization is only good if the output is to a terminal. When it goes into a file instead, the ANSI color codes makes it hard to read. This fixes that.
Testing
Manual testing.
Before Change:
After Change:
Notes
We could probably create a flag
--no-color
to manually enable this, but YAGNI for now.