numaru / vscode-ceedling-test-adapter

Ceedling Test Adapter for the VS Code Test Explorer
MIT License
37 stars 14 forks source link

How to configure ceedling command line #48

Closed thomasfinchbr closed 4 years ago

thomasfinchbr commented 4 years ago

Hi,

First of all thanks for the great plugin. I would like to know how I can configure ceedling plugin in vs code to run the command line ceedling gcov:all

I understand that it always runs the option ceedling test:all.

Thanks.

numaru commented 4 years ago

Yes you are right. It is not possible to run ceedling gcov in the extension for now. Is there a benefit to run gcov instead of test?

thomasfinchbr commented 4 years ago

I run the option 'ceedling gcov:all utils:gcov' to get code coverage of the unit tests. Whit this option the output is a little different. I get a xml with the code coverage that can but used with another vs code plugin. I think that it is not possible to the coverage with the option 'test:all'

Thanks.

numaru commented 4 years ago

✨ It's now implemented as a ceedlingExplorer.testCommandArgs option. I share a config in the PR to use Coverage Gutters.

Thank you for the contribution. 😺

thomasfinchbr commented 4 years ago

Thanks. I will test it!