You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run specific code in pytest_sessionfinish and tryfirst=true, all is well.
but now I want to use the created report and send it to a database, so I tried to use trylast=true, but some code not seeing in the report because it already 'close'.
How can I make this ?
into pytest_sessionfinish make some report changes, create the report xml file and then continue with more code ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All
I run specific code in pytest_sessionfinish and tryfirst=true, all is well.
but now I want to use the created report and send it to a database, so I tried to use trylast=true, but some code not seeing in the report because it already 'close'.
How can I make this ?
into pytest_sessionfinish make some report changes, create the report xml file and then continue with more code ?
Beta Was this translation helpful? Give feedback.
All reactions