Create beautiful reports from your SpecFlow tests.
$ dotnet add package Allure.SpecFlowAn Allure adapter for SpecFlow.
The adapter works with SpecFlow version 3, starting from 3.9.8.
Install the Allure.SpecFlow Nuget package according to your SpecFlow version.
Add the following entry to your specflow.json:
{
"stepAssemblies": [
{ "assembly": "Allure.SpecFlowPlugin" }
]
}
Run the tests.
If you're developing on a Mac machine with Apple silicon, make sure you have Rosetta installed. Follow this article for the instructions: https://support.apple.com/en-us/HT211861
You may also install Rosetta via the CLI:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
Learn more from the documentation for Allure SpecFlow.
Selective run (test plans) might not work under rare circumstances. Issue #369 contains some additional details. If you are affected by this, you may try to switch to the configuration as a workaround until we come up with a solution.
Debug