
4 Apr
2008
4 Apr
'08
6:13 a.m.
Jens Seidel wrote:
Yes, that's it! A single and simple system()-call. (I use these to setup/teardown my test environment; i.e. I create and remove a directory here, really. If there is a better way to do that: hints welcome!)
I did the same :-) Nevertheless Boost has a library for filesystem operations which should be platform independent ... Yes, I know. With 'better way for it', however, I really meant: can/should the setup of test cases be done inside those tests or is there a (better) way, perhaps some class with setup/tearDown overloads or so...
Best regards Christoph