CSF.Screenplay.NUnit.ScenarioAdapter.GetFailure(NUnit.Framework.Interfaces.ITest)

Here are the examples of the csharp api CSF.Screenplay.NUnit.ScenarioAdapter.GetFailure(NUnit.Framework.Interfaces.ITest) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : ScreenplayAttribute.cs
with MIT License
from csf-dev

bool? GetOutcome(ITest test)
    {
      var success = ScenarioAdapter.GetSuccess(test);
      var failure = ScenarioAdapter.GetFailure(test);

      if(success) return true;
      if(failure) return false;

      return null;
    }