Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
"collecting" output with --color=yes in Continuous Integration output #1397
We like to use
The only problem is that the "collecting" display progress actually piles up in the terminal because py.test output is being redirected and captured by the server. This can easily be reproduced by redirecting to a file instead:
import pytest @pytest.mark.parametrize('i', range(10)) def test_foo(i): if i == 5: assert 0
The color codes are correct, but the "collecting" messages are a problem because they occupy many lines of output in test suites with hundreds of tests.
Is there any way to prevent those "collecting" messages from appearing?
Ooops, completely forgot that I had already reported that.
I agree with @The-Compiler, seems like a reasonable solution. The ideal solution proposed in #1363 would probably take a very long while to happen... just falling back to simple
What do you think @RonnyPfannschmidt?
Hmm I agree, I don't see any point in directing the multiple "collecting" messages anywhere else other than the terminal.
I agree, but that would be a 3.0 thing right? That said, are you OK with me working on a PR for this?