Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

1.0.4

Compare
Choose a tag to compare
@unickq unickq released this 20 Sep 12:44
· 44 commits to master since this release

Release 1.0.4: Fix #14

  • [OneTime] Attributes added as steps. No results, not execution time - just a method name.
  • Console Output is now an allure attachment - much more readable.
  • AllureExtensions.WrapSetUpTearDownParams for SetUp/TearDown/OneTimeSetUp - ability to change step name and add its execution time.
  • OneTimeTearDown is just a step without result. Obviously if OneTimeSetUp is failed there won't be any results at all (Action Attributes Approach) - but it's untrackable for OneTimeTearDown

Example:

[TearDown]
public void TearDown()
{
     AllureExtensions.WrapSetUpTearDownParams(() =>
     {
          Thread.Sleep(750);
          Console.WriteLine("Example of wrapped TearDown");
     }, "Custom TearDown name here");
}

screenshot_2