[Feature Request]: Support testing of C++ files (VSC-1428) #1248
Labels
Feature / Enhancement Request
Request for Feature/ Enhancement
ongoing
Ongoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale bot
Is your feature request related to a problem? Please describe.
Cannot use unit testing feature with C++ source files as only c test files are detected/supported when using the "unity-app" testing from the test menu in the side bar. Per the documentation on unit testing using the extension, only files following the pattern
**/test/test_*.c
are detected.Describe the solution you'd like
Some way to allow c++ test files. Examples of testing c++ files can be found here
It would be nice if it automatically detects if any c++ test files are present, and if so makes test_app_main a cpp file, otherwise just does the existing functionality.
Describe alternatives you've considered
It's possible to test C++ files already but not with the simple vscode tooling that exists for c files. This would probably be a very easy feature to implement.
Additional context
The text was updated successfully, but these errors were encountered: