How to just validate the package with Specific test classes using ANT tool in Salesforce?
build.xml:
<target name=”validateSpecified”>
<sf:deploy
username=”${sf.username}”
password=”${sf.password}”
serverurl=”${sf.sandboxurl}”
checkOnly=”true”
deployroot=”Retrieve”
testLevel=”RunSpecifiedTests”>
<runTest>TestClass</runTest>
</sf:deploy>
</target>