UnitTests very slow while JustMock Profiler enabled

2 posts, 0 answers
  1. Hendrik
    Hendrik avatar
    5 posts
    Member since:
    Mar 2016

    Posted 16 Aug 2016 Link to this post


    I'm using JustMock to mock SharePoint objects in some Unit Tests. When I run Unit Tests (I use ReSharper as test runner) and the JustMock profiler is enabled, the unit tests are much slower. Normally, one Unit test runs within seconds. With the JustMock profiler enabled, I have to wait several minutes. Is there something I can do to accelerate this?


    Thank you very much!


  2. Svetlozar
    Svetlozar avatar
    294 posts

    Posted 19 Aug 2016 Link to this post


    I am really sorry for the inconvenience!

    When you enable the profiler, the CLR basically calls JustMock on every method call where we check if the invoking method is arranged by JustMock. We have identified some areas where we can definitely improve in terms of performance, but on your side you can't do anything right now. I am really sorry about that. 

    If you have other questions, please don't hesitate to write back!

    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
Back to Top