|
Boost : |
From: Dave Steffen (dgsteffen_at_[hidden])
Date: 2006-01-31 19:05:28
Jody Hagins writes:
> On Tue, 31 Jan 2006 17:26:29 -0500
> "Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote:
>
> > It's all good and interesting but would you prefer minimal
> > testing component? You stuck with a single BOOST_CHECK tool and
> > couldn't figure out why particular assertion fails. You could use
> > debugger but using BOOST_CHEKK_EQUAL would give you much more
> > change to figure it you quicker without one.
>
> Without a doubt, Boost.Test singlehandedly eliminated one of my biggest
> objections to test-first coding. I still don't do it near as much as I
> would like, but Boost.Test surely eliminated one of my biggest
> obstacles.
>
> I really like what it provide.
FWIW, Boost Test is now _the_ framework for our unit tests. It's
far, far better than anything else we've tried.
> However... I still can't figure out how to use the macro that checks
> equivalence between floating point numbers. The interface is just too
> strange, and the docs are not very clear.
It's not perfect, and yes, the floating point stuff is a little odd.
I ended up wrapping it into something that was a little easier for
the other coders to deal with. Out of curiosity, what sort of
interface would you like? (I'm looking for ideas.)
----------------------------------------------------------------------
Dave Steffen, Ph.D. Nowlan's Theory: He who hesitates is not
Software Engineer IV only lost, but several miles from the
Numerica Corporation next freeway exit.
ph (970) 419-8343 x27
fax (970) 223-6797 The shortest distance between two points
dgsteffen_at_[hidden] is under construction. -- Noelie Alito
___________________
Numerica Disclaimer:
This message and any attachments are intended only for the individual
or entity to which the message is addressed. It is proprietary and
may contain privileged information. If you are neither the intended
recipient nor the agent responsible for delivering the message to the
intended recipient, you are hereby notified that any review,
retransmission, dissemination, or taking of any action in reliance
upon, the information in this communication is strictly prohibited,
and may be unlawful. If you feel you have received this communication
in error, please notify us immediately by returning this Email to the
sender and deleting it from your computer.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk