Closed AdrianWenger1988 closed 3 years ago
The problem is repsoducable. My colleague faces the same issue!
Hello, it is working on my windows machine and I don't see obvious reason to fail in the code. But this message can happen also if the file exists but it can't load the content. I suspect a wrong project.yml file encoding. The expected file encoding is UTF-8. The encoding error message is not logged but you can try to use the extension with a clean project to see if it fixes the issue.
Usually, I use ceedling example temp_sensor
to generate a project. Then I open the project.yml with vscode (make sure the file encoding is UTF-8 in the right bottom corner) and add xml_tests_report
to the plugin.enabled
section. I configure the ceedlingExplorer.shellPath
option if ceedling is not accessible in my default shell and reload the tests.
Thanks for your reply. It is not the enconding of the project.yml, but there is an issue with the project.yml file content of the seetings for gcov:
Settings which lead to the issue:
It works with this settings:
Ok, perfect. I can close this. 👌
Hi,
I cannot run the tests in Visual Code: Followin error message appears:
Failed to find the project.yml file. Please check the ceedlingExplorer.projectPath option.
But there actually is a project.yml file in the current dir:
tools: