Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost test and openmpi
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2014-05-20 04:03:19

Richard <legalize+jeeves <at>> writes:

> [Please do not mail me a copy of your followup]
> boost-users <at> spake the secret code
> <EF0D056B-3640-465C-A404-78D62F563E2C <at>> thusly:
> >A global fixture seems like a more appropriate solution than
> >implementing main().
> >
> >
> A global fixture doesn't work quite the way you think it does. It is
> possible for test cases to execute before your global fixture has been
> instantiated.

No. It is not.
> That is, a global fixture is only "global" for a single translation
> unit and not multiple translation units.

No. This is not true. Global fixture is indeed global and is executed once
per test module regardless which test file it is defined in. And it is done
before the testing begins.

I'd appreciate if you do not mislead the users with information you are not
sure about.

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