Let Say I have following C# project structure in Visual Studio
- Spec
- UserStory1.html
- UserStory2.html
- Tests
- Test1.cs
- Test2.cs
Now I want to connect my unit tests with Specification written in html in the following way
//http://../path.to.UserStory1.html#or_even_some_anchor
[TestFixture]
public class Test1
{
[Test]
public void SomeTest()
{
}
}
That way when I CTRL+Clik on the link in the comment I can jump to the specification and see what should be really tested. Problem is that I don't know how to do a relative path to html file included in the project.
- How can I do that?
- If not in standard VS, is there some plugin available that will enable this?