I have some cases where I override ToString on my class under test but I'd prefer to use the DefaultValueFormatter as it display nicer formatted results for me (though there are a few properties I would like to omit). There a number ways to fix this but in the end I think allowing the user to setup their own IValueFormatter(s) would be great.
Comments: ** Comment from web user: swythan **
Comments: ** Comment from web user: swythan **
MbUnit has this capability. You basically just put a [Formatter] attribute on a static method somewhere in you test assembly.
See: http://gallio.org/wiki/doku.php?id=mbunit:custom_behaviors:formatter
We use it to get sensible output for a class that has a ridiculously large number of properties (including nested properties).