This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Display OneTimeSetUp in report #14
Comments
Need to say that it's impossible to reach results of SetUp/TearDown methods directly from Test. Same for OneTime. This lib uses Action Attributes Approach and can parse test output in order to get SetUp/TearDown issues. But it can't be done for OneTimeSetUp/OneTimeTearDown. Release 1.0.4-beta24:
Example:[TearDown]
public void TearDown()
{
AllureExtensions.WrapSetUpTearDownParams(() =>
{
Thread.Sleep(750);
Console.WriteLine("Example of wrapped TearDown");
}, "Custom TearDown name here");
} |
@Saureg did that work for you? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
What you can say about showing up OneTimeSetup in report (I mean display OTS in test case near simple SetUp like at image below)
![img](https://camo.githubusercontent.com/0819f29555909236add73de69fcd0d171e6cd2869919f6f63bb4b6334ce9b8dc/687474703a2f2f696d672e706172637369732e6e65742f692f61616462646365633738653862376562303531393062323265666563363366352e706e67)
Also in current realization there is no link between test cases and OTS methods and if OTS fails it doesn't show at a report
The text was updated successfully, but these errors were encountered: