My CodeRush for Roslyn auto-updated today (to version 16.2.3) and I'm unable to use the Debug tests feature. The test starts but none of my breakpoints are ever hit. I tried downgrading to v16.1.9 and the debugging works as expected. Is there a setting that needs to be updated?
Test Runner - It is impossible to start debugging from the test icon's popup menu
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v16.2.4Download Official Update
Hi Eric,
Would you please clarify the kind of your project, what Testing Framework you are using, and version of your Visual Studio? It would be very helpful to us if you can provide us with a problematic project. If you can reproduce the issue on a simple project it will be also very useful so we can reproduce the issue under the same conditions as yours.
My apologies. I am using Visual Studio 2015 along with the NUnit framework. The project is a WPF UI with supporting class libraries. After looking into it a little further, I've found that CodeRush is not identify anything with the TestCaseAttribute as a test. I was able to debug any code that had the TestAttribute, but anything with [TestCase(param, param)] does not work. The attached sample project displays this behavior on my machine.
Also, is there a way to disable the auto-update? Right now I'm having to uninstall the extension and re-install v16.1.9 each time I startup Visual Studio?
Same here with VS2015 Community/Update3 and XUnit 2.1.
I cannot debug and execute " Theory" based tests while clicking on the test symbol of the test method.
If i use the test symbol on the whole class, it's possible to run all tests including "Theory" based tests.
Hi Silvio,
Since you are using a different unit testing framework than Eric, a possible cause may have a different essence. So I've created a separate ticket on your behalf to be able to process it in the most efficient way:
Unable to debug tests using VS2015 Community Update3 and XUnit 2.1.
It has been placed in our processing queue and will be answered shortly.
Eric,
Please disable auto-update of Coderush for Roslyn in the "Extensions and Updates" dialog or in the Extensions and Updates options of all extension (see attached screenshots).
Eric,
I have reproduced the issue. But it occurred only if I started debugging from the test icon popup menu. If I perform debugging from the TestRunner window or Test Fixture icon, all works properly (see the attached screencast). Please use these ways as temporary workaround. We will fix this issue as soon as possible.
I was able to apply the hotfix and the debugging from the test icon is now working as expected. Thank you for your help.
You are always welcome, Eric.