|
Boost Users : |
From: Paulo J. Matos (pocmatos_at_[hidden])
Date: 2006-08-05 13:06:22
On 05/08/06, Gennadiy Rozental <gennadiy.rozental_at_[hidden]> wrote:
>
> "Paulo J. Matos" <pocmatos_at_[hidden]> wrote in message
> news:11b141710608031126j4a7dd5a7h6b63a051d00339e_at_mail.gmail.com...
> > Hi all,
> >
> > Is there support in Boost for testing program output, which depends
> > exclusively in its arguments?
> >
> > Briefly, my program is not-interactive and its result (to stdout)
> > depends uniquely on its input argument. Is there anything in Boost
> > that can help me test my program this way?
> >
> > I've been using the Unit Testing Framework for unit tests and for the
> > tests I've mentioned I've only found dejagnu up until now. Another
> > solution would be bash-scripts that would run the program and check
> > output, but that's not nice enough for me.
> >
> > Anything in Boost I might use? If not, are there any other suggestions?
>
> you could always use some kind of "system" or "exec" call to invoke these
> programs from within your test module and check for appropriate output using
> regular Boost.Test tools.
>
OK, thanks! :-)
> Gennadiy
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
-- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net