Nicer Tracing with [VerifyMocks]
An unknown feature, (at least till this blog) of the final version of TypeMock 4.0 is the Tracer Utility. Up till this version each time you called MockManager.Init() or when TypeMock started a new sessions the Tracer showed an Initialization (#number) to make it possible to trace the mocked calls.
The reason for this was that we just didn’t know that names of the tests. But when using the [VerifyMocks] attributes, we already know the names of the tests and we incorporated this into the Tracer. So using the decorators will make it easier to trace your mocks
Notice the names of tests actually appear in the tracer. Cool!
![Add 'Nicer Tracing with [VerifyMocks]' to Del.icio.us Add 'Nicer Tracing with [VerifyMocks]' to Del.icio.us](http://www.elilopian.com/wp-content/plugins/social_bar/delicious.png)
![Add 'Nicer Tracing with [VerifyMocks]' to digg Add 'Nicer Tracing with [VerifyMocks]' to digg](http://www.elilopian.com/wp-content/plugins/social_bar/digg.png)
![Add 'Nicer Tracing with [VerifyMocks]' to reddit Add 'Nicer Tracing with [VerifyMocks]' to reddit](http://www.elilopian.com/wp-content/plugins/social_bar/reddit.png)
![Add 'Nicer Tracing with [VerifyMocks]' to Feed Me Links! Add 'Nicer Tracing with [VerifyMocks]' to Feed Me Links!](http://www.elilopian.com/wp-content/plugins/social_bar/feedmelinks.png)
![Add 'Nicer Tracing with [VerifyMocks]' to Technorati Add 'Nicer Tracing with [VerifyMocks]' to Technorati](http://www.elilopian.com/wp-content/plugins/social_bar/technorati.png)
![Add 'Nicer Tracing with [VerifyMocks]' to Yahoo My Web Add 'Nicer Tracing with [VerifyMocks]' to Yahoo My Web](http://www.elilopian.com/wp-content/plugins/social_bar/yahoo_myweb.png)
![Add 'Nicer Tracing with [VerifyMocks]' to Newsvine Add 'Nicer Tracing with [VerifyMocks]' to Newsvine](http://www.elilopian.com/wp-content/plugins/social_bar/newsvine.png)
![Add 'Nicer Tracing with [VerifyMocks]' to FURL Add 'Nicer Tracing with [VerifyMocks]' to FURL](http://www.elilopian.com/wp-content/plugins/social_bar/furl.png)
![Add 'Nicer Tracing with [VerifyMocks]' to blinklist Add 'Nicer Tracing with [VerifyMocks]' to blinklist](http://www.elilopian.com/wp-content/plugins/social_bar/blinklist.png)
![Add 'Nicer Tracing with [VerifyMocks]' to My-Tuts Add 'Nicer Tracing with [VerifyMocks]' to My-Tuts](http://www.elilopian.com/wp-content/plugins/social_bar/mytuts.png)
Leave a Reply