Creating a custom test result in Visual Studio 2008

I am developing some unit tests , and I'm not sure what I want is possible with Visual Studio 2008 .

Basically, I scan some classes and for each of them, I want to know if this class is serializable, and if it has a default constructor.

I would like to have in the Test Results View a list of ALL classes that I tested, and if the test is successful or not.

So, if I scan 325 classes, I want 325 entries in the test results panel.

Is this possible with Visual Studio 2008, and if it is positive, how will I do it?

Thank you, have a nice day.

+3
source share
1 answer

Well, I did not understand my first choice, but found something very interesting for me.

I just use Console.WriteLine(myStringBuilder.ToString());

It displays very well in TestResult.

See: Bill Barnett Blog

0
source

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


All Articles