Move some definitions into a header file (which can be included) and auto-register the global fixture