Test Area 2: Get From Source Control
This test area covers test cases for retrieving items from the version store via the Get command. These test cases can be applied to both local and to Web projects.
Command Menu Access
The following Visual Studio integrated development environment menu paths are used in the test cases.
Get Latest Version:
File, Source Control, Get Latest Version.
File, Get Latest Version.
Shortcut menu, Get Latest Version.
Get: File, Source Control, Get.
Expected Behavior
Get Latest Version:
Performs a silent (no UI) retrieval of the latest version of the item from the version store.
Get:
Displays the Get dialog box and allows the user to make changes to the file set that will be retrieved as well as modify the options that affect how the files are retrieved.
Test Cases
Action |
Test Steps |
Expected Results to Verify |
---|---|---|
Get Latest Version of a file that does NOT exist locally |
|
Item file is retrieved locally. |
Get a file that does NOT exist locally |
|
Item file is retrieved locally. |
Get a file that has been checked out exclusively and modified locally |
|
ReResult from Step 6: Warning dialog box indicates that file is checked out. ReResult from Step 7: Modified local file is replaced by the original version from the version store. File is read/write. |
Get and Replace file that is checked out, shared, and modified locally |
|
Result from Step 6: Warning dialog box indicates that file is checked out. Result from Step 7: Modified local file is replaced by the original version from the version store. File is read/write. |
Get a file that DOES exist locally, same as latest version in the version store |
|
Local file is unchanged. |
Get a solution with one project |
|
All deleted files are restored locally. |