This is a migrated thread and some comments may be shown as answers.

"Profiler is not enabled" error when using runsettings.

7 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 28 Apr 2013, 12:24 AM
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.

7 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 29 Apr 2013, 11:55 AM
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.
0
Joel
Top achievements
Rank 1
answered on 29 Apr 2013, 10:00 PM
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! =)
0
Kaloyan
Telerik team
answered on 30 Apr 2013, 06:57 AM
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.
0
Joel
Top achievements
Rank 1
answered on 30 Apr 2013, 09:46 AM
This is good to know.  I wasn't aware there were other code coverage frameworks.  I'll check them out.

Thanks for your help!
0
Kaloyan
Telerik team
answered on 30 Apr 2013, 01:58 PM
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.
0
Mohd
Top achievements
Rank 1
answered on 05 Jun 2013, 07:06 AM
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

0
Kaloyan
Telerik team
answered on 05 Jun 2013, 11:47 AM
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.
Tags
General Discussions
Asked by
Joel
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Joel
Top achievements
Rank 1
Mohd
Top achievements
Rank 1
Share this question
or