Hi,
I have this in my build. it is expected to run all test. However none of the tests are running for some reason.
<target name="deployEmptyCheckOnly"> <echo level="info">Testing the deploy</echo> <sf:deploy checkOnly="true" logType="Debugonly" username="${sfdc.username}" password="${sfdc.password}" serverurl="${sfdc.serverurl}" deployRoot="${basedir}/src" pollWaitMillis="${sfdc.pollWaitMillis}" maxPoll="${sfdc.maxPoll}" runAllTests="true" /> </target>
What could be the reason here?
Regards,
Ajay
Community moderators have prevented the ability to post new answers.
Hi Ajay,
In our build.xml file, we've replaced
runAllTests="true"
with
testLevel="RunLocalTests"
<target name="deployEmptyCheckOnly"> <echo level="info">Testing the deploy</echo> <sf:deploy checkOnly="true" logType="Debugonly" username="${sfdc.username}" password="${sfdc.password}" serverurl="${sfdc.serverurl}" deployRoot="${basedir}/src" pollWaitMillis="${sfdc.pollWaitMillis}" maxPoll="${sfdc.maxPoll}" testLevel="RunLocalTests"> </sf:deploy> </target>
Let me know if this does the trick and I'll update our documentation.
Hope this helps!
Melanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.