Advertisement
Guest User

Untitled

a guest
Sep 12th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <target name="testClass">
  2. <echo message="Run All Local Tests in ${what} in org '${sf.branch.username}' (no deployment)." />
  3. <sf:deploy username="${sf.branch.username}" password="${sf.branch.password}"
  4. sessionId="${sf.sessionId}" serverurl="${sf.branch.serverurl}"
  5. maxPoll="${sf.maxPoll}" pollWaitMillis="20000"
  6. deployRoot="putFSTest" rollbackOnError="true" testlevel="RunSpecifiedTests">
  7. <runTest>${what}</runTest>
  8. </sf:deploy>
  9. </target>
  10.  
  11. ant testClass -Dwhat=MyTestClass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement