From 06c69907fe2e868b5b904594610bb79d7310c3b2 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Tue, 12 Oct 2021 00:06:34 -0700 Subject: [PATCH] Added instructions for running tests. --- docs/build-debug.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/build-debug.md b/docs/build-debug.md index 508f77368..74c671a2d 100644 --- a/docs/build-debug.md +++ b/docs/build-debug.md @@ -24,6 +24,11 @@ The resulting package (pyright-X.Y.Z.vsix) can be found in the client directory. To install in VS Code, go to the extensions panel and choose “Install from VSIX...” from the menu, then select the package. +## Running Pyright tests + +1. Execute `npm run test` + + ## Debugging Pyright To debug pyright, open the root source directory within VS Code. Open the debug sub-panel and choose “Pyright CLI” from the debug target menu. Click on the green “run” icon or press F5 to build and launch the command-line version in the VS Code debugger.