I have an existing project built with MSTest version 3.6.4 and Microsoft.NET.Test.Sdk 17.12.0 with all my unit tests.
I added Reqnroll to the project, and I created a feature. After the first build, I was able to generate the code for the feature
[Binding]
public class UserStory1StepDefinitions
{
[Given("that the new cedant takeout")]
public void Step1()
{
Assert.IsTrue(true);
}
[When("the Program")]
public void Step2()
{
Assert.IsTrue(true);
}
[Then("create data")]
public void Step3()
{
Assert.IsTrue(true);
}
}
When I run the tests, none of the tests above is present in the list of running or pending tests. I noticed there is no TestClass or TestMethod.
How can I set those tests to be executed with the others?