We recommend using Visual Studio 2017

Test Area 8: Plug-in Switching

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Test Area 8: Plug-in Switching.

The Visual Studio integrated development environment (IDE) has the user interface (UI) to change the current source control plug-in. This test area provides test cases for the process of picking which plug-in to use for solution source control.

The following Visual Studio integrated development environment menu paths are used in the test cases.

  • Current source control plug-in: Tools -> Options -> Source Control -> Plug-in Selection.

  • Change source control binding: File -> Source Control -> Change Source Control

Changing the source control plug-in for a solution is possible without exiting Visual Studio or reloading the solution. In addition, the current source control plug-in automatically changes to the one used by a solution when that solution is loaded.

The following are specific test cases for the plug-in switching test area.

Case 8a: Automatic Change

Expected Behavior

When a user loads a solution that is under source control, the solution is automatically loaded and the appropriate source control plug-in is selected as current.

ActionTest StepsExpected Results to Verify
Automatic source control plug-in change1. Select plug-in under test as current (Tools -> Options -> Source Control -> Plug-in Selection.)
2. Create a new project.
3. Add the solution to source control.
4. Select another plug-in (for example, Visual SourceSafe).
5. Accept unloading solution prompt.
6. Reopen the solution from disk.
Solution is opened.

Plug-in under test is the current source control plug-in.

Case 8b: Solution-based Change

Expected Behavior

The solution can have its associated source control plug-in changed.

ActionTest StepsExpected Results to Verify
Change of plug-in for a solution1. Select plug-in under test as current (Tools -> Options -> Source Control -> Plug-in Selection).
2. Create a new project and solution.
3. Add the solution to source control.
4. Unbind the solution from source control (using the Change Source Control dialog box).
5. Select another plug-in (for example, Visual SourceSafe).
6. Reload the solution from disk if unloaded.
7. Add the solution to source control.
8. Unbind the solution from source control (using Change Source Control dialog box).
9. Select plug-in under test again.
10. Reload solution from disk if unloaded.
11. Bind the solution to the original location (using the Change Source Control dialog box).
Solution is added to source control by using the selected plug-in.

Test Guide for Source Control Plug-ins

Show: