Is it possible to see debug logs from Deployment Tests? I'm having some test's fail and it would be very helpful to see the logs.

  • one workaround - deploy to fullcopy sandbox and then run the failing tests w debug log there – cropredy Dec 9 '15 at 23:51
  • Yes, if you have dev console open while you are deploying..Although you may run into truncation issues due to size – Eric Dec 9 '15 at 23:53
  • @crop1645 unfortunately the test aren't failing in full copy :/ – NSjonas Dec 10 '15 at 0:22
  • @Eric are you sure? I already tried that and nothing came up on the logs. – NSjonas Dec 10 '15 at 0:22
  • @NSjonas - It does for me, but then I am using change sets as well. If a test fails I can see it in the logs. Then again, the dev console is so buggy....At least they used to..... – Eric Dec 10 '15 at 0:24

Yes, if you have dev console open while you are deploying. With Change Sets, you can avoid log truncation by running specified tests.

enter image description here

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.