
5 Feb
2006
5 Feb
'06
6:34 a.m.
"Gennadiy Rozental" wrote:
So essentially you looking for something like this:
BOOST_AUTO_TEST_CASE( test_abc ) { .... }
BOOST_TEST_CASE_CONDITION( test_abc, BOOST_TEST_CASE_FILE_DEPEND( abc.cpp, 10*60 ) ) ;
We could design several different runtime conditions: file dependence, time dependency and provide API for custom users conditions.
I will need to think how to implement something like this. Meanwhile if you could supply code for timestamp comparisons it'll be useful.
http://www.codeproject.com/cpp/minitest.asp contains such code (one header file). It is just a call to stat(). /Pavel