ctest icon indicating copy to clipboard operation
ctest copied to clipboard

WTB test fixtures!

Open anporumb opened this issue 7 years ago • 0 comments

at the moment, there's a (1x) global TEST_SUITE_INITIALIZE and a (1x) global TEST_FUNCTION_INITIALIZE. This does not leave much flexibility in setting up the initial conditions for a test.

A test fixture feature would allow reuse of pre-existing conditions easier and would (likely) reduce the amount of code in ///arrange sections.

anporumb avatar Apr 18 '18 14:04 anporumb