We use very descriptive test names to work, and it becomes very annoying to scroll horizontally across them. Is there a way to get the method name to place multiple lines in C #?
Sort of:
MyMethodNameIsReallyLong _SoImMakingItSpanMultipleLines _SoIDontHaveToHorizontallyScroll _AndMyLifeIsMuchEasier() { DoSomething(); }
Thank.
I am sure the short answer is: No.
There is a description attribute for TestMethod, which "may be" a useful alternative ...
[TestMethod, Description("My really long descriptive test name")] public void Test99() { Assert.Fail(); }
. , MyMethodNameIsReallyLong. 4-5 , . .
getElementById/Name - javascript
I assume the names of the individual methods are not long enough to require scrolling. If you change the method calls, you will see more text vertically:
MyMethodNameIsReallyLong( SoImMakingItSpanMultipleLines( SoIDontHaveToHorizontallyScroll() ) );
Source: https://habr.com/ru/post/1753554/More articles:C #: displaying a modal dialogue of progress over a long process - multithreadingAVPlayerLayer with alpha mask - objective-cin C #, anyway, to define class members at runtime? - c #addLoadEvent не помогает в конфликте onload - javascriptMagento Custom Module Administrator Permissions - magentoServing images from my military catalog? - javaneed to be clarified regarding the xml scheme "all" tag (is this a libxml2 error?) - xmlFollow the "press any key" procedure, which is compatible with redirected standard input - c ++ScheduledExecutorService.scheduleAtFixedRate И установка initialDelay To Date In The Past - javaSpring JmsTemplate + Security - javaAll Articles