-
Notifications
You must be signed in to change notification settings - Fork 36.8k
Closed
Labels
Milestone
Description
Test for #11573
- Any OS @mousetraps
Complexity - 3
Here you verify if VS Code lets you install / update the extension version compatible to the current VS Code.
Set up
Note: Have the latest VSCE installed
- 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
- Use these extensions for testing following scenarios (You can also come up with your own if you want to :) )
- Do play around with following property in
package.jsonfor testing different scenarios
"engines": {
"vscode": "^1.0.0"
}
Note: Publishing the extension takes a while to get reflected in the market place.
Installing the compatible version
- Make sure the latest version of extension you are installing is not compatible with current VS code version. And one of the older versions is compatible. Use the above engines-->vscode property and publish accordingly.
- Installing this extension should install the version compatible to the current VS Code.
Updating the compatible version
- Make sure that Extensions view does not show the above extension as outdated even if it has a newer version which is not compatible.
- If there a new version which is compatible then this should be shown as outdated (Update action is enabled).
- Updating this extension, updates to the latest version compatible