Attached are new version of the C testing framework. Changed SystemParametersInfo unit test to use this framework.
Alexandre, I need to use a couple switches for the test application: - output verbosity level - die on failure indicator
Can you suggest how to implement these switches - as command-line arguments or environment variables?
Using environment variables is easier for me - I don't need to do parsing of 2 types of command line (main and WinMain formats), no need to force test developers to use function like start_test( args ) in the beginning of their tests.
Thanks, Andriy Palamarchuk
__________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
Andriy Palamarchuk apa3a@yahoo.com writes:
Can you suggest how to implement these switches - as command-line arguments or environment variables?
Environment variables are better. I did that already in the perl framework, look at the runtest script for the variables I'm using. You probably want to do things the same way so that it's easier to mix Perl and C tests. I don't have a die on failure flag though, but I don't think this is really necessary.