В https://pypi.org/project/pytest-html/
я видел, что мне следует попробовать:
Код: Выделить всё
extra.text('Add some simple Text')
Код: Выделить всё
from pytest_html import extras
class FirstFeatureTests:
def setup_class(self):
print("\n------------ in setup_class ------------")
def teardown_class(self):
print("------------ in teardown_class ------------")
@mark.example
def test_1_first_feature(self):
print("starting test !!!!!")
extras.text("step 1: ")
extras.text('step 2: ')
assert True
есть ли какой-нибудь способ сделать это?
Подробнее здесь: https://stackoverflow.com/questions/539 ... ytest-html
Мобильная версия