Repository navigation
Closed
Description
Test for #14277
- Windows Johannes Rieken (@jrieken)
- macOS Martin Aeschlimann (@aeschli)
- Linux Ramya Rao (@ramya-rao-a)
Complexity - 4
Set up
- Make sure you can publish an extension. Ref - http://code.visualstudio.com/docs/tools/vscecli
- Use the sample test extensions
- This repo has 3 extension packs (1, 2, 3) which are already published
- Each has some dependencies - Look at it's package.json for dependencies
- Use these extensions for testing following scenarios (You can also come up with your own if you want to :) )
- Also do play around with changing dependencies and bumping the versions to test different scenarios for installing and updating.
Note: Publishing the extension takes a while to get reflected in the market place.
Dependencies view
- Search for one of the above extensions and open the editor
- Verify that dependencies tab is show and navigate to it
- Verify that dependencies tree is shown here
- Navigate down the tree to see dependencies of dependencies and verify that they are shown correctly
- If a dependency is a dependency of itself (direct/recursive) then tree stops there.
- If there is an invalid dependency entry, an error entry is shown
- Verify that you can open (also open to side) the dependency by clicking on the name
UnInstalling packs
- Search for one of the above extensions and install
- Verify that a confirmation is asked if to uninstall the extension only or with dependencies
- Selecting
onlyoption should uninstall only itself - Selecting
Alloption should uninstall itself and all its dependencies recursively. - Verify that Uninstall should not uninstall the dependency of the extension if other installed Search for one of the above extensions and open the editor/s depends on this dependency.
- Verify that uninstalling any extension should be prevented if other installed extension/s depends on this.
Activity