Skip to content

mtcs/vim-cgtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CGTest

Code Climate Donate to MtCS

CGTest result page

WARNING: This project is brand new and in alpha state, expect heavy changes.

CGTest is a Vim plugin for working with ctest (from cmake) + gtest. It relies on internal vim parsers and ctest command to execute tests and visualize results from XMLs from CTest and GTest.

It is important to notice that both CTest and GTest have their own definition of 'test'. When we say the we run a test binary file, we are referencing CTest tests, when referencing GTest tests we will say 'GTest test'

Dependencies

  • CTest (CMake 2.8 +)
  • GTest
  • vim-dispatcher(?)

Commands

  • CGTest - Run all tests and show results in a new window

  • CGTestAll - Run all tests using ctest without updating the internal database

  • CGTestR - Run tests matching regular expression passed as parameter

  • CGTestRefresh - Run all tests

  • CGTestResults - Show test results in a new window

  • CGTestResultsV - Show test results verbose in a new window

  • CGTestInfoRefresh - Refresh test information

  • CGTestF - Run GTest tests/testcases matching regular expression passed as parameter

  • CGTestRefreshR - Run tests matching a regular expression (TODO)

  • CGTestRefreshF - Run GTest/testcases tests matching a regular expression (TODO)

  • CGTestRefreshBroaken - Run all failed tests (TODO)

  • CGTestDash - Open test dashboard in a window (TODO)

About

A Vim prlugin for working with ctest+gtest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published