How to disable test name warning too long?

I use xUnit Theory and the AutoMoqData attribute to generate test values, and this leads to the fact that the signatures of the test functions are visible for a very long time. In the test explorer, only the names of the test functions are displayed, but on the console output I see many of these:

The contents of the string 'test name ...' exceeds the maximum value of '449', the string has been truncated.

They can hide other more important warnings, is there a way to prevent them from appearing?

Test example:

[<Theory; AutoMoqData>]
member this.``test name bla bla bla`` logger uri credentials jsonString = 
    ...
+4
source share

Source: https://habr.com/ru/post/1648048/


All Articles