Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use rspec to test C/C++ program

Is Rspec ruby/rails specific? Is it possible to use it as a test framework for C/C++ program?

like image 287
pierrotlefou Avatar asked Feb 24 '10 09:02

pierrotlefou


1 Answers

I know I am resurrecting an ANCIENT question... but I get this link from google when searching rspec and c++.

Google itself built a (pretty simple to use) test suite called GoogleTest, that is based on xUnit and designed to be cross-platform.

They also have a mocking framework called GoogleMock.

like image 195
Shadow Radiance Avatar answered Oct 11 '22 21:10

Shadow Radiance