Pytest should printout the reason of test skipping inline. #4326
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: enhancement
new feature or API change, should be merged into features branch
AFAIK Pytest print results of tests in the form:
However it would be great if by adding before the test_2 the following line:
we could get the following result (inline skipped reason):
where the reason is easy identified during displaying the result.
I didn't find a solution in the pytest options.
I've found that this can be achieved (definitely not perfect solution, but I am using it) by replacing one line in the file runner.py in the function pytest_report_teststatus:
by the following:
pip list:
The text was updated successfully, but these errors were encountered: