import pytest import pytest_html from testcase import test_smoking def run_testcases(): pytest.main(['-vs', '--html=report/report.html', 'testcase/test_smoking.py']) if __name__ == '__main__': run_testcases()