-
Notifications
You must be signed in to change notification settings - Fork 276
Description
Please include the following with each issue:
1. Describe the bug
My tests are loaded into the Test Explorer correctly. (As I have AL Test Runner also installed) the tests are listed twice. If I attempt to run any of the tests using the AL Language extension they fail to run (as expected, in a BC27 container) but the test run never finishes. Clicking on the cancel icon at the top of the top explorer does not seem to do anything.
This is a problem because any attempt to run all the tests (from the UI, with the keyboard shortcut or with by copilot through the #runTests tool) fails because the test run never completes. This in turn causes the copilot chat to hang waiting for the test results.
The only way I can find to cancel the test run is to reload the VS Code window.
2. To Reproduce
Steps to reproduce the behavior:
Open a project which has some tests. Attempt to run the tests against a BC27 container. The following error will be shown in the test results window (The specified server does not support running tests from Visual Studio Code) but the test run never finishes.
3. Expected behavior
I would like to have a way to disable the test discovery in the AL Language app to prevent duplication with the functionality provided by AL Test Runner. At least the test run should not be kept open in this scenario.
4. Actual behavior
The test run is left hanging until I reload the VS Code window.
5. Versions:
- AL Language:
- Visual Studio Code: 1.107.1 (user)
- Business Central: 27
- List of Visual Studio Code extensions that you have installed:
- AL Code Actions
- AL Language
- AL Nuget Helper
- AL Test Runner
- AL Toolbox
- AZ AL DevTools
- Azure Functions
- waldo's CRS
- Operating System:
- Windows
- Linux
- MacOS