How to get test name based on cursor location? #4761
Unanswered
wilson-dillan
asked this question in
Community Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question: How can I get the TestFixtureName and TestName based on cursor location?
Context: In my workflow, I need to write out the TestFixtureName and TestName whenever I want to run a single test point. This is time consuming when repeated multiple times, so I'd like to figure out a faster way.
Example:
TEST_F(TestFixtureName, TestName) {
foo;
bar;
baz;
}
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions