Open gohierf opened 3 months ago
I can reproduce the behaviour.
This is a weird feature of vscode, why showing these entries if the file or folder does not contain tests. Need to investigate this a little bit more...
This is a weird feature of vscode, why showing these entries if the file or folder does not contain tests.
The issue is that the file actually contains tests.
This also does not work with Python tests and Dotnet tests, running tests in a folder works, but not at file level. There is something wrong with VSCode and not in the RobotCode extension. @gohierf have you also tried with python tests? Maybe we should open an Issue on VSCode?
Good to know! Unfortunately, I only have Robotframework tests available at hand.
Describe the bug In VSCode file explorer, right clicking "Run Tests" works on directories but not on files. It returns "No tests found in the selected file or folder". But it works if I right-click "Run Tests" from the parent folder, or from the green arrows in the file.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should work on test suite file as it works on folders. Tests should be detected.
Screenshots/ Videos![image](https://github.com/d-biehl/robotcode/assets/33861657/90d5ec05-d952-4729-adf8-0e29dfd4a3ed)
Desktop (please complete the following information):