Test Studio provides built-in integration with TFS source control.
The below steps guide you how to open a project, which is stored in the TFS server and create a local copy of it on your hard drive.
1. Launch Test Studio and click the Open button in the Source Control ribbon.
2. The Bind to Source Control dialog appears. Fill in the appropriate information and click Connect.
3. Pick the destination directory in TFS and click OK.
4. You can now select a test and click and buttons in the Source Control ribbon.
The project view displays the source control status of individual tests.
- appears next to newly created items (part of a source controlled project) that are not added to the source control yet.
- appears next to checked in tests.
- appears next to checked out tests.
- appears next to tests which are in conflict.
In general, Test Studio does not check out a project from source control when the project opens. However, if one or more project files are out of date (for example, they were created by an older version of Test Studio), Test Studio will attempt to check them out for an update. This will continue until an up-to-date version of the files are checked into source control.