function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LiamCoLiamCo 

RunAllTests and Managed Packages

Hi,

 

I'm trying to use ant to deploy code into a sandbox environment and run the tests as part of the build. However, if I set runAllTests="true" then it will run all the managed package tests as well, many of which fail which breaks the build.

 

Is there a way to only run our unit tests ?

 

Thanks,

 

Liam

sfdcfoxsfdcfox

You'll have to specify the names of the tests to run. See the Ant Toolkit docs for details.