"Profiler is not enabled" error when using runsettings.

8 posts, 0 answers
  1. Joel
    Joel avatar
    19 posts
    Member since:
    Dec 2011

    Posted 27 Apr 2013 Link to this post

    All tests run fine when my Test Settings are set to Local.testsettings.  But when I switched to using CodeCoverage.runsettings (so I can configure my code coverage settings), I get the "profiler is not enabled" error message.

    I am using the default runsettings example file found here: http://msdn.microsoft.com/en-us/library/jj635153.aspx

    Q: Is is possible to use JustMock profiler with runsettings?

    Visual Studio Premium 2012.
  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 29 Apr 2013 Link to this post

    Hello Joel,

    Thank you for the question.

    Yes, it is possible to use JustMock elevated features with runsettings. However, currently it is not possible to use our profiler along with Visual Studio Code Coverage. I removed the "<DataCollectionRunSettings>" from my runsettings file and the profiler tests passed as expected.

    I should note, our development team is working on a possible integration between JustMock and some of the Visual Studio profilers (e.g. VS Code Coverage). At this moment, we have established conversation with Microsoft about the matter.

    I hope this helps.

    Regards,
    Kaloyan
    the Telerik team
    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
  3. DevCraft R3 2016 release webinar banner
  4. Joel
    Joel avatar
    19 posts
    Member since:
    Dec 2011

    Posted 29 Apr 2013 Link to this post

    Ahh ya I noticed the code coverage issues, but saw in your forum you guys were working on it.

    I'll wait for an update.

    Thanks! =)
  5. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 30 Apr 2013 Link to this post

    Hi Joel,

    Thanks for the understanding. Meanwhile, you could try the JustMock integration with other code coverage tools (e.g. dotCover, NCover).

    I hope this helps.

    Regards,
    Kaloyan
    the Telerik team
    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
  6. Joel
    Joel avatar
    19 posts
    Member since:
    Dec 2011

    Posted 30 Apr 2013 Link to this post

    This is good to know.  I wasn't aware there were other code coverage frameworks.  I'll check them out.

    Thanks for your help!
  7. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 30 Apr 2013 Link to this post

    Hi again Joel,

    Feel free to contact us again if you need more help.

    Greetings,
    Kaloyan
    the Telerik team
    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
  8. Mohd
    Mohd avatar
    13 posts
    Member since:
    Jan 2013

    Posted 05 Jun 2013 Link to this post

    Hello Kaloyan,
    we are using the Visual Studio Code Coverage setting.
    DO the latest build have the ability of getting code coverage using visual Studio Code Coverage setting done in the testsetting file.

    Looking forward for your reply.
    Thanks
    Mohd Moyeen
    mohd.moyeen@allscripts.com

  9. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 05 Jun 2013 Link to this post

    Hello Moyeen,

    Currently, JustMock does not work with the Visual Studio 2012 Code Coverage. We are still working on possible ways to integrate both profilers.

    The implementation of this is planned for one of the official releases during the next Q (Q3).

    I hope this helps.

    Regards,
    Kaloyan
    Telerik
    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
Back to Top
DevCraft R3 2016 release webinar banner