• Michel Nialon
  • NEWBIE
  • 8 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
hi
From Apex, is it possible to get the value of overall code coverage after running apex tests ?

thanks for your help

regards

michel
 
Hi,
In Apex code, how is it possible to retrieve the list of all apex tests classes ?

I want to find out among all Apex classes, which one are Apex test classes, in order to enqueue and run the tests automatically.

I can not find any flags or attribute in ApexClass, and I do not how to test if the class contains testMethod 

any help will be helpful

regards
michel
I have a typo in my username for my Trailhead account. I have fixed it in my developer account but it hasn't updated in Trailhead.
Is there a way to fix this? I would like to be able to share my badges as I earn them with the correct name.
I can't even find a way to delete the Trailhead account and re-create it with the correct name. I don't want to have to create a new developer account with a new email address just so I can create a new Trailhead account, as this would obviously be very inconvient.

Surely there must be a better way of resolving this?
hi
From Apex, is it possible to get the value of overall code coverage after running apex tests ?

thanks for your help

regards

michel
 
Hi,
In Apex code, how is it possible to retrieve the list of all apex tests classes ?

I want to find out among all Apex classes, which one are Apex test classes, in order to enqueue and run the tests automatically.

I can not find any flags or attribute in ApexClass, and I do not how to test if the class contains testMethod 

any help will be helpful

regards
michel