How to ensure testing environment for open source cpp projects?

77 Views Asked by At

I'm writing open source tools for Bioinformatics in C++. I'm writing tests with the Google Test framework and want it to be portable alongside my code so that anybody that downloads the code will then be able to test the code.

Adding the test framework to the source code and writing a build script that deploys the framework and then runs it through a makefile is the solution I've come with to ensure portable deployment but it's very hacky and requires bundling a lot of dependencies.

How else are tests bundled for portability as C++ does not have a testing framework in the standard library?

0

There are 0 best solutions below