Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Colorized output when run in CI #3423

Closed
fkromer opened this issue Apr 23, 2018 · 4 comments
Closed

[Feature request] Colorized output when run in CI #3423

fkromer opened this issue Apr 23, 2018 · 4 comments
Labels
platform: mac mac platform-specific problem type: enhancement new feature or API change, should be merged into features branch

Comments

@fkromer
Copy link

fkromer commented Apr 23, 2018

When running pytest and allowing fails (e.g. --maxfail) having a colorized output (like e.g. pylint provides via the -f colorized command line option) could be helpful to find the reasons for fails (assert) more easily. This does not work for me when running pytest via gitlab-runner.

@pytestbot
Copy link
Contributor

GitMate.io thinks possibly related issues are #1749 (Feature request: doctest report format as an option), #2987 (Feature request: use caplog with custom formatter), #1237 (Requesting --capture option to not display all captured output to stdout on test failure), #714 (Request the feature to apply indirect=True on particular argnames), and #1478 (Feature Request: --capture=hide to hide stdout/stderr from the terminal).

@pytestbot pytestbot added platform: mac mac platform-specific problem type: enhancement new feature or API change, should be merged into features branch labels Apr 23, 2018
@fkromer fkromer changed the title [Feature request] Colorized output [Feature request] Colorized output when run in CI Apr 23, 2018
@RonnyPfannschmidt
Copy link
Member

do you mean pytest --color=always ?

@fkromer
Copy link
Author

fkromer commented Apr 23, 2018

did not know about that. pytest --color=yes worked for me just fine.

@fkromer fkromer closed this as completed Apr 23, 2018
@RonnyPfannschmidt
Copy link
Member

fabulous, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: mac mac platform-specific problem type: enhancement new feature or API change, should be merged into features branch
Projects
None yet
Development

No branches or pull requests

3 participants