-
Notifications
You must be signed in to change notification settings - Fork 48
Tests: ensure version of Code in .vscode-test matches the one expected #96
Comments
I just ran into this 😒 Quite unexpected behavior 😕 I assume it is not a high priority, since it has been open since March 😁 That said, from a quick look at bin/test it looks like an easy fix (famous last words 😁). |
BTW, the same is true for |
If anyone is interested, this is the script I currently use to handle testing against a specific version. It seems to work fine so far (on Windows, Linux, and macOS ✌️), but still use at your own rist 😁 (For more context on how I am using it, this is the whole commit: gkalpak/aio-docs-utils@c1ee381a4) |
This is fixed by #148. Now VS Code is downloaded to For more granular control, use |
Thx for working on this, @octref 👍 |
@octref I think all the code referencing
AFAICT |
Actually, maybe it's deliberate, since the "old"
It's not clear why, though I guess probably it's intended. I'll try switch over to using the package directly, as I already have a script for running my tests (but was shelling out to the old script). Hopefully this will simplify things :-) |
Currently if you have a
.vscode-test
folder locally, the test script will use the version inside it even if it's stale/doesn't match theCODE_VERSION
.This is likely a fringe case - people will run tests locally using the launch config and on Travis/AppVeyor they'll likely start with a clean filesystem.
However, if you might want to speed things up by reusing folders (eg. if you use Travis/AppVeyor caches to avoid re-downloading dependencies on all builds) then this fix would be required to avoid getting stuck running tests on an old version.
The text was updated successfully, but these errors were encountered: