Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support testing of C++ files (VSC-1428) #1248

Open
11CaptainKirk opened this issue Jul 9, 2024 · 1 comment
Open

[Feature Request]: Support testing of C++ files (VSC-1428) #1248

11CaptainKirk opened this issue Jul 9, 2024 · 1 comment
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

Comments

@11CaptainKirk
Copy link

11CaptainKirk commented Jul 9, 2024

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

@11CaptainKirk 11CaptainKirk added the Feature / Enhancement Request Request for Feature/ Enhancement label Jul 9, 2024
@github-actions github-actions bot changed the title [Feature Request]: Support testing of C++ files [Feature Request]: Support testing of C++ files (VSC-1428) Jul 9, 2024
Copy link

This issue has been marked as stale since there are no activities, and this will be closed in 5 days if there are no further activities

@github-actions github-actions bot added the stale Stale PR or Issue label Jul 25, 2024
@github-actions github-actions bot closed this as completed Aug 4, 2024
@brianignacio5 brianignacio5 reopened this Oct 28, 2024
@brianignacio5 brianignacio5 added ongoing Ongoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale bot and removed stale Stale PR or Issue labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants