Describe the bug
Since recently (don't exact when) I'm having an issue running testcases in VS Code specifically when I have set paths = ["folder1", "folder2"] in my robot.toml.
I get this error:
[ ERROR ] Suite 'folder1' contains no tests or tasks.
It doesn't matter if I have 1 or more folders set in paths but when I remove that line from my robot.toml I have no problem running tests using the VS Code run buttons.
I also have no issues running the testcases when running them from the commandline (in VS Code or outside it) when the paths are set. My colleague has the same issue, both of us on multiple machines.
Steps To Reproduce
Steps to reproduce the behavior:
- Open the project (attached as zip in comment below)
- Open a suite file
- Click the run button in front of the testcase
- See error [ ERROR ] Suite 'folder1' contains no tests or tasks.
When running the command robotcode robot -t "My Amazing Testcase" . the test runs normally as expected.
Expected behavior
The should run
Screenshots/ Videos
If applicable, add screenshots or videos to help explain your problem.
Logs
Console output:
C:\ws\git\rf_issue> cmd /C "c:\Python314\python.exe c:\Users\myuserid.vscode\extensions\d-biehl.robotcode-2.7.0\bundled\tool\robotcode -dp . debug --no-debug --tcp 62402 -- -I folder2/testcases/my_amazing_suite.robot -N "Folder1 ^& Folder2" -s "Folder1 ^& Folder2.Folder2.Testcases.My Amazing Suite" -bl "Folder1 ^& Folder2.Folder2.Testcases.My Amazing Suite.My Amazing Testcase" "
[ ERROR ] Suite 'Folder1' contains no tests or tasks.
Additional context
See also discussion in Slack: https://robotframework.slack.com/archives/C0103745J7P/p1788436118824159
Desktop (please complete the following information):
- VS Code Version 1.139.1
- RobotCode Version 2.7.0
- OS: Windows 11
- Python Version 3.14.7
- RobotFramework Version 7.5
- Robocop 9.0.0
Describe the bug
Since recently (don't exact when) I'm having an issue running testcases in VS Code specifically when I have set paths = ["folder1", "folder2"] in my robot.toml.
I get this error:
[ ERROR ] Suite 'folder1' contains no tests or tasks.
It doesn't matter if I have 1 or more folders set in paths but when I remove that line from my robot.toml I have no problem running tests using the VS Code run buttons.
I also have no issues running the testcases when running them from the commandline (in VS Code or outside it) when the paths are set. My colleague has the same issue, both of us on multiple machines.
Steps To Reproduce
Steps to reproduce the behavior:
When running the command
robotcode robot -t "My Amazing Testcase" .the test runs normally as expected.Expected behavior
The should run
Screenshots/ Videos
If applicable, add screenshots or videos to help explain your problem.
Logs
Console output:
C:\ws\git\rf_issue> cmd /C "c:\Python314\python.exe c:\Users\myuserid.vscode\extensions\d-biehl.robotcode-2.7.0\bundled\tool\robotcode -dp . debug --no-debug --tcp 62402 -- -I folder2/testcases/my_amazing_suite.robot -N "Folder1 ^& Folder2" -s "Folder1 ^& Folder2.Folder2.Testcases.My Amazing Suite" -bl "Folder1 ^& Folder2.Folder2.Testcases.My Amazing Suite.My Amazing Testcase" "
[ ERROR ] Suite 'Folder1' contains no tests or tasks.
Additional context
See also discussion in Slack: https://robotframework.slack.com/archives/C0103745J7P/p1788436118824159
Desktop (please complete the following information):