Basically I am creating a custom log file where after every test executes I need to write to log file whether it passed or failed. I am aware of answers related to hooks, but I assume there should be some simpler way to capture this data.
Many Thanks in advance!
Working with pytest testing framework in Python. I have created a custom log file and want to add PASS FAIL results in that log file as and when test case execution finishes for each test.