I've lately started receiving errors from my test runs stating (I think) that I need to upgrade the version of the profiler running on my build server. This is following an update I make to the JustMock version I use in my test projects (version details are in the below error message).
1) Test Error : CustomerExperience.Domain.Test.Integration.MailMergeTest.DateFormattingIsSuccessful
Telerik.JustMock.Core.MockException : Telerik.JustMock.dll version: 2015.1.224.3
Telerik.CodeWeaver.Profiler.dll version: 2014.3.1021.2
Register the updated Telerik.CodeWeaver.Profiler.dll.
at Telerik.JustMock.Core.Context.HierarchicalTestFrameworkContextResolver.ResolveRepository(UnresolvedContextBehavior unresolvedContextBehavior)
at Telerik.JustMock.Core.Context.MockingContext.ResolveRepository(UnresolvedContextBehavior unresolvedContextBehavior)
at Telerik.JustMock.Mock.<Create>b__92[T]()
at Telerik.JustMock.Core.ProfilerInterceptor.GuardInternal[T](Func`1 guardedAction)
at CustomerExperience.Domain.Test.Integration.MailMergeTest.DateFormattingIsSuccessful() in d:\Program Files (x86)\Jenkins\jobs\Customer Experience\workspace\source\CustomerExperience.Domain.Test\Integration\MailMergeTest.cs:line 50
I could just go ahead and update the profiler on the build server. The issue is that the same server runs tests for several other projects which haven't been updated in the same way that mine has.
Can anyone suggest a fix?
1) Test Error : CustomerExperience.Domain.Test.Integration.MailMergeTest.DateFormattingIsSuccessful
Telerik.JustMock.Core.MockException : Telerik.JustMock.dll version: 2015.1.224.3
Telerik.CodeWeaver.Profiler.dll version: 2014.3.1021.2
Register the updated Telerik.CodeWeaver.Profiler.dll.
at Telerik.JustMock.Core.Context.HierarchicalTestFrameworkContextResolver.ResolveRepository(UnresolvedContextBehavior unresolvedContextBehavior)
at Telerik.JustMock.Core.Context.MockingContext.ResolveRepository(UnresolvedContextBehavior unresolvedContextBehavior)
at Telerik.JustMock.Mock.<Create>b__92[T]()
at Telerik.JustMock.Core.ProfilerInterceptor.GuardInternal[T](Func`1 guardedAction)
at CustomerExperience.Domain.Test.Integration.MailMergeTest.DateFormattingIsSuccessful() in d:\Program Files (x86)\Jenkins\jobs\Customer Experience\workspace\source\CustomerExperience.Domain.Test\Integration\MailMergeTest.cs:line 50
I could just go ahead and update the profiler on the build server. The issue is that the same server runs tests for several other projects which haven't been updated in the same way that mine has.
Can anyone suggest a fix?