By default pytest use test function names or test files names in pytest reports
is there any Best way to add test description (Long test name) in the report with out renaming the files or functions using pytest?
Can we do this by updating the testcase name at run-time like ?
- request.node.name
request.node.name = "Very Very Very Very Very long long long long name name name name"
- Description after test-name
def test_ok():
"""Very Very Very Very Very long long long long name name name name"""
print("ok")