Project

vigilant

0.0
No commit activity in last 3 years
No release in over 3 years
A simple C/C++ unit test generator.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0

Runtime

~> 2.5.2
 Project Readme

Vigilant

Vigilant is a simple unit test generator for C/C++. It generates a single compilable file based off of a directory of .tests. Tests are hierarchical, so use folders to represent test suites.

Usage

Make sure you have a vigilant.options file in the root of the directory that looks something like this:

{
  "output": "run_tests.cc",
  "includes": "bt/foundation.h"
}

Run the vigilant binary and pass it your .tests directory:

$ vigilant gen tests
Generating tests...
tests/foundation/array/resize.test
tests/foundation/array/iterator.test
tests/foundation/array/swap.test
---
tests/foundation/byte_buffer/read_and_write.test
Generated 23 tests.

Installing

$ gem install vigilant

Contributing

Just fork, branch feature-name, and send a pull-request.

License

MIT, see LICENSE.md for more info.