-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add a possibility to group Google Test using regexes on the test executable path/name #337
Comments
How about
? |
Also one nest the groupings:
|
Thanks for the response!
Can I group these somehow together? |
I see. I will work on this |
Thanks :) I hope, it wasn't too confusing. |
Fixed in **v4.1.0**.This issue was mentioned in CHANGELOG.md under a released entry so it is assumed to be fixed. |
Great, thanks! 😃
|
Are you still using this feature? |
Thanks for asking! |
First of all: thanks for this plugin! 👍
Checklist
Is your feature request related to a problem? Please describe.
I have a workspace full of projects, each of which has multiple cpp test files. Each cpp test file produces one executable, containing multiple testsuites with again multiple tests.
So, I have four hierarchy levels:
Currently, it seems to me, that it is possible to group by the executable name, regex on the test suite / name / tags – but not by a regex on the test executable path.
Describe the solution you'd like
I'd like to be able to group the tests by project. As the project name is given in the test executable path, it would be sufficient to be able to group by regex on the path.
In the end, I'd like to group by project and maybe aggregate all test executables of a project in the same group:
Describe alternatives you've considered
I tried a couple of things, including #231 (comment), but all of the approaches did not work. Grouping by tag regex for example doesn't help, as the tags contain only the test name in my case (how are these tags generated btw?).
Additional context
As an example for (part of) the source directory structure, see the lanelet2 Project. We use it within ROS with catkin/cmake as build tool.
The resulting test files with directory structure:
In this example, it would be handy to regex the executable name to get these groups:
The text was updated successfully, but these errors were encountered: