Record feature for setting up tests - "JustMock This"

3 posts, 0 answers
  1. Tom
    Tom avatar
    44 posts
    Member since:
    Jun 2007

    Posted 12 Jul 2010 Link to this post

    A feature I would really like to see to assist with using JustMock is a way of setting up unit tests far more easily.

    In my situation I am dealing with calls from a silverlight client that are passing collections of objects created originally by linq to sql. All the examples show using JustMock for testing of very simple methods - currency conversion etc. While I realise there is no limit to the complexity of what can be setup, it is very difficult to set these types of parameters up by hand.

    What I would really like is a way to hit a breakpoint in my code, and then be able to select "JustMock This" off a menu somehow.

    This would clone the current arguments into a repeatable test.  I wouldnt care if the clone was done in code, or the arguments were persisted in some way. I just dont want to have to recreate them all by hand.

    It would open the door not just to simplified set up of unit tests, it would also be a powerful debugging tool as well, as sometimes the operations to get to a bug can be complex, and it is a real pain to keep going through the motions just to get back to the same method again.

    If there is a way of doing all this with the existing product, please let me know how. If not, what do you think of this as a feature?

    Tom
  2. Chris
    Admin
    Chris avatar
    221 posts

    Posted 12 Jul 2010 Link to this post

    Hi Tom,
    I love this suggestion! It looks like a great candidate for a JustCode feature and we'll definitely include it in our plans for the Q3 release. I've create an item in our Public Issue Tracking System and you can follow its progress here:
    http://www.telerik.com/support/pits.aspx#/public/justcode/2650

    I've also awarded you with some Telerik points for this suggestion.

    Sincerely yours,
    Chris
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
  4. Tom
    Tom avatar
    44 posts
    Member since:
    Jun 2007

    Posted 12 Jul 2010 Link to this post

    Thanks Chris, glad you like it. Look forward to Q3 release.
Back to Top