How can i access TestResult object from code #1923
Closed
Rjakubiec
started this conversation in
General Discussion
Replies: 1 comment 1 reply
-
You can use TestResult result = null;
Allure.getLifecycle().updateTestCase(testResult -> { result = testResult }); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a simple and possibly trivial question: is it possible to access the TestResult object from code? I tried using Allure.getLifecycle(), but I couldn't find any way to retrieve the data saved in the TestResult object.
Beta Was this translation helpful? Give feedback.
All reactions