I have the name of a test class (as a string), eg."Reports::SalesReportTest"
. Without loading all the test files into memory, how can I find out which file Ruby would have loaded for this test-class to work?
To rephrase, is there a function which takes a class/module name (as a string), and returns the file-path that needs to be loaded for the class/module to work?