jeudi 10 septembre 2020

How to remove skipped tests from html report

I am using pytest for automation. I have so many test cases and have one test cases as skipped test like below,

def test_step(index, description):
"""
    Logs the start of a test step.
"""
    # code for print log

Now, when any my test file executed and the report is generated, this test_step is also consider as a skipped test case in the report.

How can i remove skipped test cases from html report??

Aucun commentaire:

Enregistrer un commentaire