Current filter:
                                You should refresh the page.
                                  • 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) ==========

                                • Eugene R (DevExpress) 02.13.2019

                                  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:

                                  1. From the Visual Studio menu, select "CodeRush\Options..." .
                                  2. In the tree view on the left, navigate to "Unit Testing" folder.
                                  3. Select the "Code Coverage" options page.

                                   I look forward to hearing from you.

                                2 Solutions

                                Creation Date Importance Sort by

                                Fixed:

                                • DevExpress Support Team 02.26.2019

                                  We have published the requested patched build and are looking forward to hearing about your results. Meanwhile, we would like to mark this ticket as Public, if you do not mind, to include it in the What's New lists for future maintenance updates.

                                Hallo Eugene,

                                somehow on the first approch it was working, or i didnt saw the failing tests .
                                After playing around, the issue is not fixed.
                                Runnung "all tests" in the test class , all tetst will run thru

                                best regards Christian 

                                Show all comments
                                • Eugene R (DevExpress) 02.13.2019

                                  Hi Cristian.

                                  If I understand you correctly you enabled the option but the exception persists once you run all tests in the class.
                                  We received tickets reporting the same problem in the past.
                                  The only way to fix this exception is to find the place in the code which causes it. Is it possible to send us your project or any small test project reproducing this problem? We will delete it once finish the research.

                                • Customer64831 02.13.2019

                                  Hallo Eugene,

                                  the tests will run thru when i click "run all " in the test runner
                                   , but if i rclick"run all with coverage" the error ocures .

                                  i will try to provide a project this evening.

                                  regards christian

                                • Eugene R (DevExpress) 02.13.2019

                                  Hi Christian,

                                  Thank you for your assistance.
                                  A project showing the problem would be of great help for us.

                                • Eugene R (DevExpress) 02.13.2019

                                  Hi Christian,

                                  Thank you for sending us the project.
                                  We will research it and contact you again.

                                  I've noticed that the ticket has the "Public" status.
                                  In this case, the attached project can be visible for other people too.
                                  I recommend you make this ticket Private to exclude the possibility of downloading your project by a third party.

                                • Customer64831 02.13.2019

                                  i guess it is private now

                                • Eugene R (DevExpress) 02.13.2019

                                  Hi Christian,

                                  I've reproduced the problem on my side.
                                  I see 2 failed test cases and I see the exception in the output window.

                                  Please give us some time for the further research.
                                  We will contact you once we get any information.