I’ve created a couple of basic test functions that I’m adding to the global scope in the Tests tab of the Collection property window and have Tests on requests do an eval on those functions. This works really great.
I now need to have the same set of Test functions on multiple Collections and that may turn into a maintenance hell as I now need multiple copies of the working code and it can become hard to trace bugs if two versions of the script becomes incompatible but are run on the same requests. My requests are moved between Collections and requests utilize these functions and pass parameters to them.
Is there a way to add this generic script a place above Collection Level to make sure I only ever have 1 version of this script to maintain?