JafarAbdi / neotest-gtest

Neotest adapter for projects using gtest and cmake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Neotest adapter for projects using gtest and cmake

License:MIT License


Languages

Language:Lua 100.0%