-
-
Notifications
You must be signed in to change notification settings - Fork 6
AllureLifecycle.Instance.Verify class
Alexandr D edited this page Oct 5, 2018
·
3 revisions
New AllureLifecycle.Instance.Verify
class to add steps without stopping the test, if an exception was thrown or the check failed.
In this case, the error information will be added as a substep in a running step with messages of all nested exceptions.
This class has same methods like Assert
from NUnit.
To perform additional actions in case of an error, such as taking a screenshot, you need to configure these actions using the tuning methods.
Example, test not stopped at fail:
Multiple calls example, test collect all errors: