matt-42 / silicon

A high performance, middleware oriented C++14 http web framework please use matt-42/lithium instead
http://siliconframework.org
MIT License
1.73k stars 138 forks source link

Adopt a unit testing framework? #42

Open CinchBlue opened 7 years ago

CinchBlue commented 7 years ago

I was wondering; is there a future plan to use Silicon with a previously established unit testing framework, like Catch or Google Test? I've found that it's extremely helpful to be able to write unit tests in the course of development, and I would figure that having the same power would be helpful.

matt-42 commented 7 years ago

We are using ctest from cmake and assert, but we still need to link it with travis CI. https://cmake.org/Wiki/CMake/Testing_With_CTest

What are the advantages of Catch or Google Test over ctest/assert ? We could switch if it worth it. It won't require too much work I think.

Lewiscowles1986 commented 6 years ago

IDK about changing to catch, but https://github.com/TusharChugh/travis-gcov-gtest-example would be a real benefit of Travis with a coverage tool