Hallo
i am currently evaluationg your product. Today i have an issue, that the code coverage does not longer work with my last two tests i created.
The tests :
run and debug when executed manually
run and debug by MS Test
–>---------------TestRunner-----
Test started…
Ignored: Ews.TimeTracking.Tests.PlayAroundTests.TestMethod1
Ignored: Ews.TimeTracking.Tests.PlayAroundTests.LoadSomething
Ignored: Ews.TimeTracking.Tests.PlayAroundTests.Dooooo
Failed: Ews.TimeTracking.Tests.EntityFrameworkTests.TimeTrackingServiceTests.save_worksteps_should_save_given_workstep
Test method Ews.TimeTracking.Tests.EntityFrameworkTests.TimeTrackingServiceTests.save_worksteps_should_save_given_workstep threw exception:
System.InvalidProgramException: Die Common Language Runtime hat ein ungültiges Programm gefunden.
TimeTracking.EF\TimeTrackingService.cs(83, 0) : EWS.TimeTracking.EF.TimeTrackingService.SaveWorkStep(WorkStepEntity workStep)
Tests\EnitityFrameworkTests\TimeTrackingServiceTests.cs(344, 0) : Ews.TimeTracking.Tests.EntityFrameworkTests.TimeTrackingServiceTests.save_worksteps_should_save_given_workstep()
Failed: Ews.TimeTracking.Tests.EntityFrameworkTests.TimeTrackingServiceTests.save_workstep_twice_should_not_be_work
Test method Ews.TimeTracking.Tests.EntityFrameworkTests.TimeTrackingServiceTests.save_workstep_twice_should_not_be_work threw exception:
System.InvalidProgramException: Die Common Language Runtime hat ein ungültiges Programm gefunden.
TimeTracking.EF\TimeTrackingService.cs(83, 0) : EWS.TimeTracking.EF.TimeTrackingService.SaveWorkStep(WorkStepEntity workStep)
Tests\EnitityFrameworkTests\TimeTrackingServiceTests.cs(397, 0) : Ews.TimeTracking.Tests.EntityFrameworkTests.TimeTrackingServiceTests.save_workstep_twice_should_not_be_work()
TelemetryTimeTakenInSecByAdaptersToRunTests,executor://mstestadapter/v2,26,7375982
Summary: Passed: 42, Failed: 2, Ignored: 3
Duration: 30.08 seconds
----------------MS Test ( run all) ------
[12.02.2019 15:57:13 Informational] ------ Run test started ------
[12.02.2019 15:57:40 Informational] ========== Run test finished: 47 run (0:00:26,7118281) ==========
Hi,
Would you please try enabling the "Disable security transparency checks during JIT compilation" on the "Code Coverage" option page and letting us know of the results.
Follow these steps to get to the Code Coverage options page:
I look forward to hearing from you.