Approved
Last Updated: 09 Jul 2019 11:14 by ADMIN
Carlos
Created on: 05 Jun 2019 11:20
Type: Feature Request
1
Add the JustMock profiler to the commercial NuGet package
The JustMock profiler should be added to the commercial NuGet package distributed from the Telerik private NuGet server.
2 comments
ADMIN
Mihail
Posted on: 09 Jul 2019 11:14
Hi Linus,

The current version of the commercial JustMock NuGet includes only the dlls for the JustMock API and does not include the JustMock profiler. The reason for this is that there could be multiple JustMock NuGet package versions installed on different projects but the CLR can work only with one JustMock profiler. And the question is which profiler should be chosen? This becomes a problem when the tests from multiple test projects are executed at once. We have some ideas on how to overcome this issue and once we start working on this problem we will update this item.

Regarding your specific question on how to enable the profiler, if we are talking about a development machine, than the preferred approach is to install JustMock with the corresponding version on that machine.
If the question is about CI/CD scenario then there are two possible approaches. The first one is again to install JustMock where the build agent is and to use the JustMockConsole to execute the tests. The second approach is when an installation of JustMock is not possible. Then the JustMock profiler should be copied to the machine where the build agent is and by using the JustMockConsole installation free option to execute the tests.
If the CI/CD scenario includes Azure Pipelines then you could use the JustMock extension to execute the tests. The extension contains both the installation approach and the installation free approach.

Regards,
Mihail
Progress Telerik
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
Linus
Posted on: 08 Jul 2019 14:10

Is there a way to enable the profiler if using JustMock.Commercial.2019.2.620.1.nupkg?