c++testingboostboost.test

How is Boost.Test tested?


Does the Boost.Test framework itself have any tests? Boost seems to have lots of regression tests for the other libraries, written in Boost.Test of course. But how does one make sure that the test framework itself is correct?


Solution

  • boost/libs/test$ ls test
    Jamfile.v2           execution_monitor-ts inputs               selfcontained.cpp    usage-variants-ts
    README.md            framework-ts         multithreading-ts    smoke-ts             utils-ts
    baseline-outputs     gen_coverage.sh      prg_exec_monitor-ts  test-organization-ts writing-test-ts
    

    So it looks to me that there are a ton of tests, for Boost.Test!

    From a cursory glance, these tests look like they aren't using boost.test, they are testing string outputs from the terminal on expected outputs.