allure2 icon indicating copy to clipboard operation
allure2 copied to clipboard

There is no log output in allure

Open nullpointer00 opened this issue 3 years ago • 0 comments

Describe the bug Hi I was using Allure and found that the log message was not collected

To Reproduce Steps to reproduce the behavior: def test_method(logger) logger.info("hi") #Use fixtures to generate a logger if name == 'main': pytest.main(["-s", "--alluredir={}".format(DirInfo.report_dir.value),#Please replace the path "test_cases.py"]) result = os.system(r"allure serve {}".format(DirInfo.report_dir.value)) print("result={}".format(result))

Expected behavior I would like to see logs in the report

Screenshots image

Environment (please complete the following information):

Allure version 2.18.0
Test framework [email protected]
Allure adaptor [email protected]
Generate report using [email protected]

nullpointer00 avatar May 17 '22 13:05 nullpointer00