Does anyone have any advice on how I can go about querying test classes and dependent test classes?
Our Org is getting very large and finding the correct test classes for each class is becoming an issue. I am looking into ways to query all of our Apex Classes and store them in a table and link them to all dependent test classes that need to be run in order to achieve correct code coverage/dependence.
Is the MDAPI the best way to go about doing this? Is there any way I can use DX to query? Or should I just create one internal Apex Class to do all of the work?
Any help/advice would be greatly appreciated! Thanks.