• Testing & ALM

    TechEd 2013–Great Conversations, Speaker Idol, Channel 9, and Best of Tech Ed 2013

    Guess who won best of TechEd? Telerik did, that's who! Also, Jeff Fritz was runner up for Speaker Idol, and a great interview on Channel 9. Read all about TechEd and Telerik here!
  • Testing & ALM

    Choose Your Constructor with JustMock Automocking

    Automocking can be a great time saver. But what if your system under test has multiple constructors? No need to worry, since JustMock added support for selecting which constructor should be automocked!
  • Testing & ALM

    JustMock Adds Event Handling to Automocking

    Automocking gets even better with the improvement of event mocking in the latest service pack. Read more to see how easy it is!
  • .NET

    Asserting Behavior with JustMock

    JustMock is a great tool for abstracting dependencies in unit tests, and the new automocking feature makes it even faster to develop unit tests.  Another great feature in JustMock and JustMock Lite is the capability to assert the behavior of your system under test.  Traditional TDD (Test Driven Testing) unit testing typically tests for state.  Did the user get logged in? Did the user’s shopping cart get loaded?  Important tests, of course.  But that only tests the end result of the method.  If the user does NOT successfully login, and the cart is not reloaded, is that because the call to the repository was never called? Or because some error happened that didn’t reload the cart in this particular use case?  The state of the application is correct, but is that because it executed the expected behavior, or because we got lucky? 
    January 10, 2013
  • .NET

    Automocking with JustMock

    Auto mocking containers are designed to reduce the friction of keeping unit test beds in sync with the code being tested as systems are updated and evolve over time. Background The Dependency Inversion Principle states: High level modules should not depend upon low level modules. Both should depend upon abstractions. Abstractions should not depend upon details. Details should depend upon abstractions. As more developers follow this and the rest of Robert Martin’s SOLID principles, methods and classes become much smaller with dependent objects injected into them, typically through constructor injection. As additional dependencies are needed (or the code is refactored to improve dependency isolation), the signatures of...
    November 07, 2012