• Top 5 TDD Mistakes

    Thursday, January 24, 2013 by Just* Team | Comments 4
    Our guest blogger, the Contented Coder, Bradley Braithwaite shares the 5 most common TDD mistakes that he has encountered over the years.
  • Mocking Property Getters and Setters

    Wednesday, December 26, 2012 by Just* Team | Go comment!
    In typical unit testing scenarios, mocking property getters and setters isn't high on the list of areas of concern. Where it usually comes into play is when an entity’s properties’ values (or the act of setting them) are part of the scaffolding, or behavior for the system under test.
  • Mocking Constructors with JustMock

    Thursday, December 13, 2012 by Just* Team | Go comment!
    In .NET there are two types of constructors, instance constructors and static constructors. Instance constructors are called when objects are instantiated, while static constructors get called before any member of the class is invoked for the first time.
  • Chris and I wanted to thank you all for attending the “Getting Started with JustMock” webinar. The slides, source code and recorded video are now available for you to explore. If you have any questions, then feel free to leave a comment below or send us an email/tweet. I encourage you to go ahead and download your own copy of JustMock and start experiencing Fast, Fluid Unit Testing for yourself. WEBINAR MATERIALS Slides, Source Code and the Recorded Webinar Video is now available for you to enjoy.
  • Automocking with JustMock

    Wednesday, November 07, 2012 by Just* Team | Go comment!

    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...

  • Unit tests are most effective when the System Under Test is isolated from its dependencies.  The best way to isolate your code (and make your code more SOLID) is through dependency injection. But even if you follow the rules of SOLID and inject all of the necessary dependencies in as interfaces, you are still faced with the fact that you depend on them.

    In order to test your code, something concrete has to be passed into the code in order for it to even compile.  Your production code will most likely use a factory to create concrete instances of the dependent interfaces, but that...

  • Why Mocking Matters

    Wednesday, October 10, 2012 by Just* Team | Go comment!

    How does mocking benefit me?  That’s a question I hear a lot as I travel around the world giving talks.  So before we dive into how to use a mocking tool like JustMock, let’s discuss why this is important and the benefit that mocking provides over other techniques like Fakes.

    In my post on Why SOLID Matters, we refactored a small piece of code to be more SOLID.  Granted, it was a simplistic example, but good for illustrating several key points on SOLID.  We will continue using the same code to discuss the benefits of Mocking. 

    As a refresher, we ended...

  • Another Great CodeStock

    Wednesday, June 08, 2011 by Phil Japikse | Go comment!

    Last week marked another great CodeStock, a two day developer conference in Knoxville, TN.  The organizer, Michael Neel, does a great job of juggling the speakers, schedule, and venue, and the show continues to get better and better!

    P1000845P1000852

    Telerik was once again one of the core sponsors of the conference, as we continue our wide and deep support of the developer community.  I also gave for presentations:

    • Test Driven Development for T-SQL
    • Windows Presentation Foundation for Developers
    • Implementing M-V-VM in WPF (Have you tried our WPF Controls?)
    • Test The Hard Stuff With JustMock 

    All of the code can be found on my blog’s...

  • Come Join Us Hawaii

    Monday, March 28, 2011 by Phil Japikse | Go comment!

    I’m getting ready to kick off a crazy month of speaking.  I start Friday, April 1 in lovely Honolulu, HI with 4 talks at the Honolulu SQL (and .NET) Saturday.  I will be presenting:

    • Windows Presentation Foundation for Developers
    • Lessons Learned: Being Agile in a Waterfall Enterprise
    • Introduction to Test Driven Development
    • Mocks, Stubs, and Dependency Injection, Oh My!

    For more information, you can check out the conference at this link: http://www.sqlsaturday.com/72/eventhome.aspx

    Chris Eargle will also be there, presenting:

    • Code Like a Ninja: Enhance Your Productivity
    • Secrets of a .NET Ninja
    • What’s New in ASP.NET MVC3: Building Nerd Dinner

    I...

  • [Cross posted from www.skimedic.com/blog]

    Telerik’s JustCode natively supports several test runners, including MSpec. This is great - the JustCode product team has taken on the responsibility to make sure the test runner works with the test frameworks, letting the framework developers focus on building even more awesome frameworks!

    Occasionally, this can cause an issue, though, as we just discovered here at CodeMash. The latest rev of MSpec introduced breaking changes in the JustCode test runner. While the team is hard at work updating the test runner to be compatible with the latest api, the work around is very simple. Simply change the Copy...

12
Product Families