0

I created a trigger and in order to deploy it to production it needs at least 1% code coverage. I wrote the test class for the trigger, but I'm having a weird issue where the trigger is not showing up in the code coverage list of triggers in the Developer Console. Are other people having the same issue and have a solution? Thanks!

  • We really need more information here in order to assist. Make sure you are looking at the same env (prod/dev) – Saariko Apr 13 '15 at 19:09
  • Does your test case for the trigger pass? – Daniel Ballinger Apr 13 '15 at 23:34
1

I have had random issues with the developer console. I would try mavensmate, it is a really great ide for SF development and you are able to run tests using a nice UI. Once a test finishes running there are separate sections for class and triggers.

0

Some times developer console does not shows properly. Try ide to run your test class. If it shows some coverage then try migration

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.