Boost Test Command Line Favorites

The BitShares-Core project uses Boost Test features to exercise the product. When starting the test, here are some interesting command line options:

–run_test=module/test

This will run a specific test. We organize them into modules, that usually match the filename for more easily finding a failing test.

–log_level=message

This provides more detail about a test

–report_level=detailed

If you have a lot of output, this will give you a report at the end that details passing and failing tests. It can be parsed to find the failing tests, and associate that failure with the test that caused it.

Leave a Reply

Your email address will not be published. Required fields are marked *