pytest-sugar
pytest-sugar copied to clipboard
a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)
### Problem Definition Theme configuration in `pytest-sugar.conf` does not apply `name` parameter. ### Example Configuration file: ```ini [theme] path=magenta progressbar=cyan name=blue ``` ### Expected Outcome All the configuration parameters under...
#### Command used to run pytest `pytest -rP` #### Test file ```python import pytest @pytest.fixture def before_after(request): print(f"Before test - {request.param[0]}") yield print(f"After test - {request.param[1]}") @pytest.mark.parametrize("before_after", [[1, 2]], indirect=True)...