-
Notifications
You must be signed in to change notification settings - Fork 325
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
Hierarchy view vs. data-driven tests #1685
Comments
Also, if values in a data driven test come from an external file and we want to list them in the Test Explorer (as they are listed by "--gtest_list_tests"), currently there does not seem to be a way to force a "refresh" of the tests list (force to rerun the test discovery without recompiling). It's possible to close the solution and reopen it, but it's a bit cumbersome. |
@PBoraMSFT , @pvlakshm , can you please respond to this. |
Adding @ManishJayaswal @kendrahavens as it is an IDE related query. |
@csoltenborn Is this issue still relevant? As far as I can tell from the description, it seems everything is covered. |
Not really, partly because I'm not actively working on GTA at the moment... feel free to close - in the worst case, I will reopen (or ask for it). |
Google Test Adapter currently considers improved support for the hierarchy view. In particular, we want to improve on the visual representation of parameterized tests (the gtest equivalent of data-driven tests). The GTA issue csoltenborn/GoogleTestAdapter#210 has an example screenshot of what we have in mind.
And that's pretty much already the question: What are benefits/drawbacks of handling such tests via the hierarchy view vs. via explicit data-driven tests? Here are my thoughts - please correct me where I'm wrong and add the stuff I've been missing. And of course, it would be nice if that information would become part of the according docs :-)
Hierarchy view
Data-driven tests
TestCase
contains all information needed to create command line params for gtest which result in that test be executed. In the case of data-driven tests, this would be more difficult, because part of the information would be stored within the property bag as described above, but it would still be feasible for us... but does the test framework/test explorer allow this?The text was updated successfully, but these errors were encountered: