Unit Tests C/C++

Hey guys I am looking for a testing framework for C/C++? I am used to Junit tests so if there is something similar I would want to use that.

Maybe have a look at:

Exploring the C++ Unit Testing Framework Jungle

Maybe have a look here?

What environemnt are you using?
The Boost library has a very mature unit test module which integrates nicely w CMake.

Here's a code example.

ok I have decided to use this one


but when I use npm i --save-dev cppunitlite in my Linux enviroment it returns npm WARN install Refusing to install cppunitlite as a dependency of itself.

Try to remove line 22.

still returns the same error message