[pytest-dev] Help creating plugin that changes output

2023-02-24 Thread Felipe Curty
Hello, I have been using pytest for a while and want to write a plugin to change its output. I would like to achieve the following output: From: test/test_sample.py . To test/test_sample.py A House with two floors has stairs[Passed] I intend to use pytest_runtest_logrepor

Re: [pytest-dev] Help creating plugin that changes output

2023-02-24 Thread Felipe Curty
Hi, I managed to achieve the results using only the pytest_report_teststatus. I don't know if it is the best solution, but it now works as expected. The code is available at https://github.com/felipecrp/pytest-pyspec Regards, Felipe On Fri, Feb 24, 2023 at 11:17 AM Felipe Curty wrote: > Hello