Reputation: 303
We are an automation test team of 3 SDETs writing E2E Selenium Tests for our web portal using Java and we use Maven as the build tool.
The web product that we test is developed using C# and .NET platform. So, the developers are using TFS 2012 server & TFS controller for the continuous integration of the builds and maintaining their source code.
The code for our Automation Tests live in BitBucket and we use our local machines to run our Maven builds.
In the near future, we will have our own Test Server to run the automation tests.
My question here is: Whenever there is a new build available, the Test server is deployed with the latest build. At that point, we need to trigger our Automation Tests automatically (may be from TFS 2012, but not sure yet) What kind of setup do we need to do to achieve this?
Upvotes: 0
Views: 239
Reputation: 102
I'm not familiar with using TFS as a CI, but the way we do it in teamcity is:
The way that happens is in the build configuration for automation tests have settings for build triggers, which is set to a successful build of the application.
To make this possible using maven, at least for teamcity, it required a maven plugin so teamcity knows what to do with the custom build command line parameters.
Such as:
mvn clean test
Unfortunately, as I mentioned, I had have an personal experience with TFS CI setup, but I suppose it may be very similiar to how TC and Jenkins CI.
Upvotes: 0