Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test] Using boost::exception
From: svarneticist (svarneticist_at_[hidden])
Date: 2012-03-06 14:53:53

I found it helpful to include this in my test cases:

#include "boost/test/unit_test_monitor.hpp"
#include "boost/exception/all.hpp"

void translate(boost::exception const& e) {

struct Exception_fixture {
   Exception_fixture() {

BOOST_GLOBAL_FIXTURE( Exception_fixture );

   //test body

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at