numaru / vscode-ceedling-test-adapter

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

Multiline test function names are not picked up #53

Closed sanko-oz closed 4 years ago

sanko-oz commented 4 years ago

Since my test function names are starting to get very long, I started to use multiple lines like so:

void test_\ GIVEN_xxxxxxxxxx__\ WHEN_xxxxxxxxxxxxxx__\ THEN_xxxxxxxxxxxxxxxxxx(void) { }

Ceedling is not having any problems with this notation, but the test-adapter is unfortunately not able to find the test functions in that case.

numaru commented 4 years ago

Thank you for the report. I'm closing the issue because it is fixed by the PR.

sanko-oz commented 4 years ago

Unfortunately its not working for me. I updated to 1.5.1 but my test functions are still not getting picked up.

I am using vscode 1.45.0

numaru commented 4 years ago

You are right, the current published version does not support the feature. I bet I got myself in a complete muddle when I published it.

I'm publishing the right file with the same version number 1.5.1. You might want to uninstall/reinstall the extension to get the latest version.

sanko-oz commented 4 years ago

Thank you very much. Now its working as expected.