Run Test Class in Salesforce from Apex
Salesforce support following way to execute a test class inside Salesforce The Salesforce user interface The Force.com IDE The Force.com Developer Console The API But apart from that we can run a test class in Salesforce from apex using ApexTestQueueItem (in beta release) which will submit your test class for test execution asynchronously.