How to benchmark unit tests in Python without adding any code
I have a Python project with a bunch of tests that have already been implemented, and I'd like to begin benchmarking them so I can compare performance of the code, servers, etc over time. Locating the files in a manner similar to Nose was no problem because I have "test" in the names of all my test files anyway. However, I'm running into some trouble in attempting to dynamically execute these tests. As of right now, I'm able to run a script that takes a directory path as an argument and returns a list of filepaths like this: def getTestFiles(directory): fileList = [] print "Searching for 'test