|
|
submitted by
Jachman
1 year, 3 months ago
jachman.wordpress.com — 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);
|
|
tags:
.Net, UnitTesting, Testing, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking
the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
No comments so far
|