alepez / vim-gtest

Vim plugin to quickly select and run GoogleTest asyncronously.
64 stars 12 forks source link

select test with cursor #1

Closed alepez closed 8 years ago

alepez commented 8 years ago

Select and run the test where the cursor is:

TEST_F(Example, Foo) {
  ...
}

TEST(Example2, Bar) {
  ...
}

If cursor is over TEST_F(Example, Foo) { or inside its block, calling GTestRunUnderCursor will select and run that test.