+ Start a Discussion
Siddharth Birari.ax1164Siddharth Birari.ax1164 

TestClass Identifer



I need some help regarding testclass. following points would elaborate on my exact requirements:


I need to identify the classes in my org that contains testMethods. (classes which are test classes and classes that are normal classes but contains testmethods). I need this thing to be done through API


In standard object 'ApexClass' no such filed is there that identifes whether the class contains test code or not.


By doing this, at the end i'll be available with only those classes that contains a valid test code.


Anticipating your help