Released TypeMock 4.0 Beta

We have released a beta version of TypeMock 4.0, this should be a really stable version. We intend to release the final version within 2 weeks.

There is a lot of new stuff in this version. you can read about it in the Release Notes.

Some nice stuff are:

The new TypeMock Decorators.

Using these decorators will work for All test frameworks and will automatically verify mocks

[Test] [VerifyMocks(Timeout=150)] // mocks are always verified public void TestVerificationWithTimeout() { // setup mocks // run tests // optional assert Assert.That(): }

Generic Reflective API

Use generic to create reflective mocks.

[Test] [VerifyMocks] // mocks are always verified public void Test() { Mock mockControl = MockManager.Mock<ClassToMock>(); new ClassToMock(); // This is mocked }

Intelligent Natural Mocks

When creating a mocked return value, within a recording block, TypeMock.NET will not mock the return value

using (RecordExpectations recorder = RecorderManager.StartRecording()) { MockedType.CallAMethod(); recorder.Return(new SomeReturnType(1,2));// SomeReturnType is NOT mocked }

Bookmark at:
Add 'Released TypeMock 4.0 Beta' to Del.icio.us Add 'Released TypeMock 4.0 Beta' to digg Add 'Released TypeMock 4.0 Beta' to reddit Add 'Released TypeMock 4.0 Beta' to Feed Me Links! Add 'Released TypeMock 4.0 Beta' to Technorati Add 'Released TypeMock 4.0 Beta' to Yahoo My Web Add 'Released TypeMock 4.0 Beta' to Newsvine Add 'Released TypeMock 4.0 Beta' to FURL Add 'Released TypeMock 4.0 Beta' to blinklist Add 'Released TypeMock 4.0 Beta' to My-Tuts 

16 May 2007 | .NET Tests | Comments | Print This Post

Leave a Reply

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

Navigation

Recent Posts

Categories

Archives

Managment