Helping getting started using Boost.Test

前端 未结 5 1233
后悔当初
后悔当初 2020-12-30 07:57

I am trying to start unit testing. I am looking at a few C++ frameworks and want to try Boost.Test. The documentation seems very thorough, and it\'s a bit overwhelming, espe

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 08:28

    Try this script I wrote which, given a program name and list of classes will generate the makefile, project skeleton and test suite skeletons for each class / module. It also sets it all up so that the test suite for each class can be run either individually or as part of an all-in-one global suite.

    It's call makeSimple and is available on sourceforge.

提交回复
热议问题