We are trying to run unit tests for [My Namespace] from Jenkins. We are writing Java JUnit tests. We would like to know how we can invoke unit test from SOAP api.
There is a reference to run unit tests here - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_unit_tests_running.htm
And I ended up here to runTests() - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/sforce_api_calls_runtests.htm
But I don't know what is apexBinding variable in the example.
How can I trigger unit tests from Jenkins using Java? Does salesforce expose such functionality through an API?