On Oct 6, 2016, at 11:51 AM, Jake Vizzoni <jv.ass...@gmail.com> wrote:Is it possible to pass arguments to the class constructor when using the TEST_CASE_METHOD() macro?
On Oct 6, 2016, at 5:06 PM, Jake Vizzoni <jv.ass...@gmail.com> wrote:I've been doing something similar in the test code so far. My test code is quickly bloating because I'm writing many subclasses for this purpose. Guess it's time to rethink the design of my class to compensate for this limitation in Catch.
On Oct 7, 2016, at 10:00 AM, Jake Vizzoni <jv.ass...@gmail.com> wrote:I've explored the possibility of just using a file open/close method as part of the base class but then you are essentially doing what that class is meant to do for you - in other words, you need to handle the error conditions and cleanup appropriately in the code instantiated an instance of the class.