How to integrate ToscaCI in Microsoft TFS 2015
This article describes the necessary steps to run Tosca Testcases from your Team Foundation Server 2015 Build Process
Microsoft Team Foundation Server 2015 is a commonly used platform for development and build. Within a Continuous Integration lifecycle it is mandatory to run your automated tests after each checkin. For this scenario Tricentis provides the Tosca Continuous Integration solution.
Within your TFS WebInterface open up your Project view and click onto the build tab and go to Edit mode
Within this view all build steps for your project are listed. To use ToscaCI we now add another build step of type 'Command Line'
This 'Command Line' step is responsible for calling ToscaCI Client with the corresponding parameters. Therefore we edit the step accordingly and give it a readable name (to create a JUnit test result we additionally use the parameter '-t' with the value 'Junit')
After adding the step to run our ToscaCI tests, we add another one of type 'Publish Test Results' to publish our ToscaCI test results after finishing the execution
We choose 'JUnit' as Test Result Format and point to the location of the result.xml file