#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
Good afternoon There is a set of steps that can be either in a separate class or in a nuget package, described in a standard way:
[Binding]
public class Steps
{
[StepDefinition(@"write in console ""(.+)""")]
public void WriteInConsole(string varName)
{
Console.WriteLine(varName)
}
}
And when there is an attempt to find this step in the IDE (VS/Rider), you can only see the information in the attribute. As example Given write in console "test"
The question is, is it possible to somehow use the documentation of the function described in Summary and so on and display it in the IDE? Or is there another way I don't know about?
Example:
[Binding]
public class Steps
{
/// <summary>
/// Step to output values to the console.
/// </summary>
/// <param name="varName">Variable for output.</param>
[StepDefinition(@"write in console ""(.+)""")]
public void WriteInConsole(string varName)
{
Console.WriteLine(varName)
}
}
Link to Feature Request
No response
Implementation Idea
Good afternoon There is a set of steps that can be either in a separate class or in a nuget package, described in a standard way:
And when there is an attempt to find this step in the IDE (VS/Rider), you can only see the information in the attribute. As example Given write in console "test" The question is, is it possible to somehow use the documentation of the function described in Summary and so on and display it in the IDE? Or is there another way I don't know about?
Example: