Refactoring giant c++ class

Hello all, I'm improving and adding code to a testing class written by someone else. The class has 7 different test functions and each call some auxiliary functions specific to that test. There are some functions that are used by all such as opening a file to read configs and setting some class variables. The class will easily reach 1200+ lines when I'm done with functions that are named similarly.

Should I split the test functions into separate classes and inherit the shared functions such as file reading/setting parameters?


More specifically I'm working on a cache hierarchy checker, each test checks some functionality of the cache such as cacheline size affecting subseqent reads, read after write, etc...
Topic archived. No new replies allowed.