Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Commented Feature: Allow for custom IValueFormatters [12364]

$
0
0
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 **

@AB_dreeve I can't argue with that.

I just thought I'd mention what MbUnit did as a concrete example/answer to @dennisdoomen's question about what the API might look like.


Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>