We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to configure the output? For example, these options are always very confusing for many people and for me personally:
@dataclasses.dataclass class Theme: xfailed: Optional[str] = "green" xpassed: Optional[str] = "red"
import pytest @pytest.mark.xfail(reason="Because the world is round...") @pytest.mark.parametrize("num", [0, 1]) def test_example(num): assert 1 == num
tests/test_cases/test.py xX 100% ██████████ Results (0.17s): 1 xpassed 1 xfailed
I'd prefer the failed tests to be marked with red, and passed with green.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there a way to configure the output? For example, these options are always very confusing for many people and for me personally:
Test file
Output
I'd prefer the failed tests to be marked with red, and passed with green.
The text was updated successfully, but these errors were encountered: