MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Using Random Values For Unit Testing

    When writing my unit tests I don’t like to use hard coded fixed values because I either end up using the same values or, because of that, tests may succeed by coincidence. Over time, I have developed an helper class to generate random values for testing. namespace PauloMorgado.VisualStudio.TestTools...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 06-24-2008
    Filed under: .NET, SoftDev, Microsoft, MSDN, VisualStudio, Testing, UnitTests, TypeMock
  • Typemock Developers Community Site Updated

    Typemock has updated its Developers Community Site with new sections. Besides the forums , there's a new add-ons page where anyone can share her/his tools or snippets (I guess I'll have to brush up my Typemock Snippets For Visual Studio to add there) and an experts page (guess who's there...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 05-29-2008
    Filed under: .NET, Community, SoftDev, Tools, Testing, UnitTests, TypeMock
  • TypeMock Isolator 4.2 Released

    TypeMock has released version 4.2 of its mocking framework: TypeMock Insulator. Check out the release notes . My four favorite new features in this release are: Improved mock chaining Debugger evaluation doesn't change the test behavior The debugger can be run inside a recording block without confusing...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 03-03-2008
    Filed under: .NET, SoftDev, Tools, VisualStudio, Testing, UnitTests, TypeMock
  • TypeMock Insulator 4.2 Beta Publicly Available

    TypeMock (now called) Insulator 4.2 Beta is publicly available. Check out the release notes . One of my favorite new features is the improved mock chaining. Take this class to be tested: public class TestedClass1 { public IDictionary < string , object > Dictionary { get { throw new NotImplementedException...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 02-03-2008
    Filed under: .NET, SoftDev, Tools, VisualStudio, Testing, UnitTests, TypeMock
  • TypeMock: How to Make Reflective Mocks More Natural

    Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well, it's as easy as this: public static class MockExtender...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 01-31-2008
    Filed under: .NET, SoftDev, C#, Microsoft, MSDN, MVP, Tools, Testing, LINQ, UnitTests, TypeMock
  • Stop Designing for Testability (by Eli Lopian)

    Eli Lopian from TypeMock™ , has an article on CodeProject about the disadvantages of design for testability and how to use TypeMock™ to remove these disadvantages while keep the advantages of unit testing. I have to say that I agree with Eli: design for testability is BAD. It exposes more that it needs...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 12-26-2007
    Filed under: .NET, SoftDev, C#, Microsoft, MSDN, MVP, Testing, UnitTests, TypeMock
  • Unit Test Patterns for .NET (from TypeMock™)

    There is a good set of articles about Unit Test Patterns in the TypeMock™ site: Unit-Test Patterns for .NET - Part I This article looks at patterns in unit testing and describes the main patterns found in tested .NET code. It also describes the problems with each pattern. Unit Test Patterns for .NET...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 12-26-2007
    Filed under: .NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Tools, Testing, UnitTests, TypeMock
  • TypeMock 4.1 has been released.

    The main features of this version are: Support of .NET 3.5 syntax changes Mocking automatic properties. Mocking Anonymous Types. Mocking Lambda Expressions. Verifying New Initialziers. Mocking Extension Methods. Mocking LINQ statements. Integration API for tools developers Tracer Enhancement (Professional...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 10-02-2007
    Filed under: .NET, C#, Microsoft, MSDN, MVP, Tools, Testing, TypeMock
  • Unit Testing and Mock Frameworks

    I'm not a big fan of Test Driven Development (TDD) , but I love Unit Testing . But to be productive on unit testing I need a good framework for Mock Objects . I can't expect to be productive and have to build a lot of mock classes to test other classes. And, who tests the mock classes? Mock objects...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 02-17-2007
    Filed under: .NET, Tools, Testing, UnitTests, TypeMock
  • Why Use Random Values For Unit Testing

    On a previous post I introduced a library for generating random values for purposes of unit testing. I received a few comments and questions on my blogs [ ^ ][ ^ ][ ^ ][ ^ ]. Simon says that he’d “generally want every instance of the test I run to be repeatable on *every* run” and he’d “inclined to use...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 06-30-2008
    Filed under: .NET, SoftDev, Microsoft, MSDN, Testing, UnitTests, TypeMock
Page 1 of 2 (14 items) 1 2 Next >


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems