Felix Berlakovich
2014-06-24 09:21:20 UTC
Hi!
I want to ask whether it would be an option to use a C++ Unit Testing Framework for libtools and anything else written in C++ that is not part of the core library. I have no experience with Unit Testing in C++, but in languages like Java or C# using a Unit Testing Framework is pretty common.
I had a quick look at https://code.google.com/p/googletest/ and at least from the documentation it looks very promising (grouping of tests to fixtures, automatic test object creation / destruction for each test, death tests integration with CMake,...).
Are there any concerns or other ideas?
Felix
I want to ask whether it would be an option to use a C++ Unit Testing Framework for libtools and anything else written in C++ that is not part of the core library. I have no experience with Unit Testing in C++, but in languages like Java or C# using a Unit Testing Framework is pretty common.
I had a quick look at https://code.google.com/p/googletest/ and at least from the documentation it looks very promising (grouping of tests to fixtures, automatic test object creation / destruction for each test, death tests integration with CMake,...).
Are there any concerns or other ideas?
Felix