Browse by Tags

Related Posts

  • 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, 12:00 AM
    Filed under: TypeMock, LINQ, MSDN, .NET, C#, Microsoft, MVP, SoftDev, Testing, Tools, UnitTests
  • 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, 12:00 AM
    Filed under: UnitTests, Testing, TypeMock, SoftDev, MSDN, Microsoft, .NET, VisualStudio
  • 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, 12:00 AM
    Filed under: UnitTests, Testing, TypeMock, SoftDev, MSDN, Microsoft, .NET
Page 1 of 1 (3 items)
Microsoft Communities