|
Boost Users : |
Subject: [Boost-users] [test]
From: Stirling Westrup (swestrup_at_[hidden])
Date: 2011-03-23 02:52:37
I have been using Boost.test to run some simple unit tests as I build
my code. I've come across a case where I need to test if my code runs
within an acceptable time limit. I know that the execution monitor has
a timeout system for testing that sort of thing, but I can't figure
out how it is supposed to be integrated into the unit test framework.
Ideally, I'd love to just have a BOOST_CHECK_TIMED( f(), timeout) that
I could invoke to ensure that the code returns true, and returns
within the specified timeout interval.
-- Stirling Westrup Programmer, Entrepreneur. https://www.linkedin.com/e/fpf/77228 http://www.linkedin.com/in/swestrup http://technaut.livejournal.com http://sourceforge.net/users/stirlingwestrup
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