JafarAbdi / neotest-gtest

Neotest adapter for projects using gtest and cmake
MIT License
2 stars 1 forks source link

neotest-gtest

Format

This plugin provides a gtest adapter the neotest framework.

Screenshot from 2022-07-30 23-56-52

Requires both nvim-treesitter for the C++ parser and neovim-cmake for building/running tests.

Configuration

require('neotest-gtest').setup({
    test_path_pattern = {".*_test%.cpp", ".*_test%.cc"}, -- The path pattern to detect test files
})

Acknowledgements