We're using very descriptive test names for work and it's getting very annoying to horizontally scroll across them. Is there a way to get a method name to span multiple lines in C#?
Something like:
MyMethodNameIsReallyLong
_SoImMakingItSpanMultipleLines
_SoIDontHaveToHorizontallyScroll
_AndMyLifeIsMuchEasier()
{
DoSomething();
}
Thanks.
I'm pretty sure the short answer is: No.
There is a Description Attribute for TestMethod that "might" be a helpful alternative...
[TestMethod, Description("My really long descriptive test name")]
public void Test99()
{
Assert.Fail();
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With