|
Boost : |
From: Jamie Allsop (ja11sop_at_[hidden])
Date: 2008-02-14 13:23:04
Markus Schöpflin wrote:
> Hello,
>
> did anybody ever use boost.test to test the UI behavior of classes, like
> for example instantiating a class implementing a dialog, sending some
> events to the resulting object, and checking that the object has the
> expected state.
>
> AFAICT this would require to somehow integrate the main event loop of the
> respective GUI framework with the main loop of boost test, but I'm at a
> loss how this could be accomplished.
>
> Has anybody any experience to share?
I'm not sure exactly what you have in mind but I have used boost.test to
help test UIs using the approach outlined in the Taligent MVP paper.
<http://www.wildcrest.com/Potel/Portfolio/mvp.pdf>
I'd recommend having a read of that to help with ideas. Follow-up
searches should reveal more interesting examples.
Jamie
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk