Hacker News new | ask | show | jobs
by eurasiantiger 1314 days ago
First you may need to find the appropriate tests, which is essentially the same problem OP describes.
1 comments

I would say it's a related, but much simpler problem. Often, codebases will have some sort of command (sometimes in a Makefile, or similar) to run the tests, which you can use to track down where the tests live. Failing that, tests are often found in files, functions, and directories containing the string 'test' in their names. Simple use of shell tools can accomplish the task of looking for those things in a semi-automated way.