We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To Reproduce Code like this broke all AllureStep
AllureStep
[AllureStep("test")] public void Test() { Console.WriteLine("test"); throw new Exception("test"); Console.WriteLine("test"); }
Expected behavior
Screenshots
Versions
The text was updated successfully, but these errors were encountered:
So.
BAD:
[AllureStep("test")] public void Test() { Console.WriteLine("test"); var throw = true; if (throw) throw new Exception("test"); }
GOOD:
[AllureStep("test")] public void Test(bool throw) { Console.WriteLine("test"); if (throw) throw new Exception("test"); Console.WriteLine("test"); }
[AllureStep("test")] public string Test(bool throw) { Console.WriteLine("test"); if (throw) throw new Exception("test"); return "test"; }
There is no need to fix this at the moment. Just don't throw an exception for nothing.
Sorry, something went wrong.
Noksa
No branches or pull requests
To Reproduce
Code like this broke all
AllureStep
Expected behavior
Screenshots
Versions
The text was updated successfully, but these errors were encountered: