alfaix / neotest-gtest

Google Test adapter for nvim-neotest
MIT License
45 stars 12 forks source link

Support build tool integration #12

Open alfaix opened 10 months ago

alfaix commented 10 months ago

Ideally, we would like to automatically discover executables for tests with Bazel, CMake, and Conan.

For CMake cmake-tools.nvim may be useful.

alejandroclaro commented 9 months ago

Agree with this. It's confusing that a manual rebuild is needed to actually get an updated result of the test.

Maybe an option in the configuration to configure a command to execute before running the test suite that receives the executable configured in the registry as parameter.

jla2000 commented 8 months ago

There is https://github.com/hfn92/cmake-gtest.nvim which does achieve running Gtest tests by querying for the correct executables using cmake-tools.nvim. Maybe it could be used as a starting point.

mr-j0nes commented 4 months ago

Indeed, this would be much appreciated.