joakimkarlsson / igloo

A framework for unit testing in C++
Boost Software License 1.0
153 stars 32 forks source link

Helpers #5

Closed dannystaple closed 11 years ago

dannystaple commented 11 years ago

Hi there, A while ago I did an article and video stuff on Igloo, and wrote a little extension library with some bits I wanted at the time. I've sent it over so you can make what you will of it, and also a little github readme too.

joakimkarlsson commented 11 years ago

Thanks for contributing!

As susu said, this can be accomplished with the AssertThrows/LastException construct (which was created after reading your article).

Though a bit more verbose, that construct gives you more freedom as to what to check on an exception and it enables you to use any of Igloo's assertions; not just equality.

I'm going to add the readme file. We're long overdue to have one.