ObjectDumper re-loaded(jachman.wordpress.com)
submitted by
Jachman(530) 4 years, 7 months ago
Sometimes in history a star flashes for a short moment to shade for the next. The same happened to the class ObjectDumper which is quite a handy class for writing NUnit Test cases - published one time in a microsoft sample - and after that never found again.
The performance of that class used with NUnit was terrible, because the ObjectDumper wrote directly to the Console Out Stream. That forced NUnit to refresh the UI again and again. I improved the ObjectDumper, so that it takes a StringBuilder and write the complete output to the Console in one step. That’s faster.
You can output the content of every object using the following syntax:
ObjectDumper.Write (object you want to output);
|category: Unit Testing
|Views: 169
tags:
.Net Testing C# UnitTesting another
Everyones tags:
Your Tags: