We've got around 1k tests in our org. It takes 2 hours to execute all of them on deployment. Could tests run in parallel on deployment with isParallel=true annotation?

  • 1
    I would imagine that something like this is testable by doing a mock deploy into a sandbox. Do a deploy without it, time it do a deploy with it, time it again.
    – gNerb
    Commented Dec 27, 2017 at 21:37
  • If you haven't noticed it, you can now run only specified tests when deploying. More info. Commented Dec 28, 2017 at 2:02

1 Answer 1


No, this annotation will have no effect. From Run Unit Test Methods (emphasis mine):

Apex tests that run as part of a deployment always run synchronously and serially.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .