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.

image

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

image

Notice the names of tests actually appear in the tracer. Cool! 

Bookmark at:
Add 'Nicer Tracing with [VerifyMocks]' to Del.icio.us Add 'Nicer Tracing with [VerifyMocks]' to digg Add 'Nicer Tracing with [VerifyMocks]' to reddit Add 'Nicer Tracing with [VerifyMocks]' to Feed Me Links! Add 'Nicer Tracing with [VerifyMocks]' to Technorati Add 'Nicer Tracing with [VerifyMocks]' to Yahoo My Web Add 'Nicer Tracing with [VerifyMocks]' to Newsvine Add 'Nicer Tracing with [VerifyMocks]' to FURL Add 'Nicer Tracing with [VerifyMocks]' to blinklist Add 'Nicer Tracing with [VerifyMocks]' to My-Tuts 

25 June 2007 | .NET Tests, Debugging | Comments | Print This Post

Leave a Reply

  1.  
  2.  
  3.  
Search Eli Lopian’s Blog (TypeMock)

Navigation

Recent Posts

Categories

Archives

Managment