Archive For The “Boost” Category

Boost: How do I write a unit test for a signal?

Today, while writing some unit tests, I encountered a challenge. The user story was that, when a Person’s details are updated, the display should be updated to reflect the changes. I’d implemented this feature using a signal on the person class that will be called whenever any details are updated: This is a fairly standard […]

Read more »

Using the Boost Unit Test Framework with Xcode 3

Warning: this article is no longer being actively updated and parts of it are probably out of date. Proceed with caution! Update (Nov 2009): the custom log formatter in this article is now part of the Boost Unit Test Library, via the compiler_log_formatter. So you don’t need to roll your own anymore! (Thanks Sean for […]

Read more »