You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
We execute a test and it raises and TechTalk.SpecFlow.BindingException but it isn't catched by the AllureLifCycle object and it is marked as passed.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
We are using Specflow 2 with NUnit 3.
In order to reproduce the scenario is: you have to decored two step methods with the same specflow test. Beacause we have did it in our test suite by error.
[When(@"I save and back")]
public void WhenIGoBackCancelingAnyChanges()
{
...
}
[When(@"I save and back")]
public void WhenISaveAndBack()
{
...
}
When you do this by error, NUnit catches the TechTalk.SpecFlow.BindingException and only it's logged by NUnit. The ScenarioContext don't have logged the exception and specflow don't excute the BeforeStep hook.
In allure results files the failing step has the status none:
"name": "And I save and back",
"status": "none",
And the next steps are marked as skipped. But the information about the fail is in the TestResult object of NUnit.
What is the expected behavior?
We expect that the test was marked as Broken.
What is the motivation / use case for changing the behavior?
I'm submitting a ...
What is the current behavior?
We execute a test and it raises and TechTalk.SpecFlow.BindingException but it isn't catched by the AllureLifCycle object and it is marked as passed.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
We are using Specflow 2 with NUnit 3.
In order to reproduce the scenario is: you have to decored two step methods with the same specflow test. Beacause we have did it in our test suite by error.
When you do this by error, NUnit catches the TechTalk.SpecFlow.BindingException and only it's logged by NUnit. The ScenarioContext don't have logged the exception and specflow don't excute the BeforeStep hook.
In allure results files the failing step has the status none:
"name": "And I save and back",
"status": "none",
And the next steps are marked as skipped. But the information about the fail is in the TestResult object of NUnit.
What is the expected behavior?
We expect that the test was marked as Broken.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: