Build Step of Unit Test Run No Longer Shows
When you run some unit tests, first a build is performed. This build is no longer shown in the UI. The UI just does nothing while the build happens. Nothing is shown on the build window. Additionally, if there are build errors, they are not reported and the run just stops with no feedback about what happened.
This was not a problem in 2023.2 and seems to be a new issue in 2023.3. (Specifically I have 2023.3.2.)
Please sign in to leave a comment.
Hello, Dave,
Could you please navigate to Settings | Build, Execution, Deployment | Toolset and Build | Presentation and enable the Tool Window: open the build progress view even when the build is invoked implicitly setting?
Thanks, that doesn't seem to help.
Try this simple example:
Write a unit test, but make it deliberately uncompilable:
Then find the test in the Unit Test Explorer, right-click it and run it.
Expected Behaviour: Project builds (with green dot on build tab icon, or maybe with build window showing build, depending on settings), build fails, build error is displayed
Actual Behaviour: Solution-wide analysis is suspended, but there is no other indication that a build is being performed. There is no green dot on the build tab, and opening the build window, nothing is there. Once the build fails, solution-wide analysis is resumed, but there is no other indication that the build failed. There is no build log, there are no error messages, there is no notifcation about the result of the build, nothing. The build effectively executed outside of the IDE and there is no result anywhere about it at all.
Hello, Dave,
Thank you for the details. We were able to reproduce the same behavior on our side. It appears that the build is not started at all in this case. I have submitted a new issue in our tracker: RIDER-104574 Build not triggered when attempting to run unit tests with uncompilable code. Please upvote it and click Watch to keep an eye on status updates.