Telerik blogs
  • Productivity

    Working with multiple interfaces on a single mock.

    Today , I will cover a very simple topic, which can be useful in cases we want to mock different interfaces on our expected mock object.  Our target interface is simple and it looks like:   public interface IFoo : IDisposable {     void Do(); } Our target interface has an IDisposable implemented. Now, generally if we implement it in a class , we have to implement the whole of it [which is quite logical] and that should not wait for any extra calls or constructs. Considering that, when we are creating our target mock it should also implement all the dependent interfaces for us as well.   Therefore,  as we are creating...
    April 26, 2010
  • Productivity

    Asserting with JustMock

    In this post, i will be digging in a bit deep on Mock.Assert. This is the continuation from previous post and covers up the ways you can use assert for your mock expectations.
    April 19, 2010
  • Release

    JustCode Q1 SP1 Typing Assistance Improvements

    Our goal is to make JustCode’s typing assistance save keystrokes, without getting in your way. As such, typing assistance received quite a few changes for SP1.  It now works faster, and better than ever :)      Bracket Completion When you add an  open bracket at the beginning of a line, JustCode will now add the closing bracket for you at the end of the line, even if there is code. When you hit enter, the auto formatter will run.    Prevents Bracket Doubling The SP1 release now does it’s best to prevent you from doubling parenthesis, braces, and brackets. Instead of doubling up these items up, it...
    April 16, 2010
  • Release

    Code better with JustCode Q1 SP1

    We've just uploaded the Service Pack 1 for JustCode so feel free to log in to your Telerik accounts and download JustCode. Earlier this week Visual Studio 2010 RTM was released and we are happy to announce that this version of JustCode fully supports it. Other areas of interest in this release are the typing assistance behavior and JavaScript formatting. We also further optimized JustCode’s memory usage and speed. You’ll find the full release notes for the Service Pack here.  Visual Studio 2010 changes As Visual Studio is now officially out we now fully support its final version as well as the...
    April 15, 2010
  • Productivity Testing

    Doing your first mock with JustMock

    In this post, i will start with a more traditional mocking example that includes a fund transfer scenario between two different currency accounts using JustMock.
    April 13, 2010