Open alfaix opened 10 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.
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.
Indeed, this would be much appreciated.
Ideally, we would like to automatically discover executables for tests with Bazel, CMake, and Conan.
For CMake cmake-tools.nvim may be useful.