Skip to content

Commit 3185684

Browse files
committed
Add testing instructions in README.md
1 parent 2da78dc commit 3185684

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,22 @@ If your version of NativeScript is incompatible with the extension you will see
4242
### Get the latest bits
4343

4444
1. Clone the [extension repository](https://github.com/NativeScript/nativescript-vscode-extension): `git clone [email protected]:NativeScript/nativescript-vscode-extension.git`
45-
2. To build the extension run the following commands in the root repository folder
45+
2. To build the extension run the following commands in the root repository folder:
4646

4747
```
4848
npm install
4949
npm run build # compiles TypeScript source files to JavaScript
5050
npm run package # produces nativescript-*.*.*.vsix in the root folder
51+
```
52+
53+
3. To test the extension run the following commands in the root repository folder:
54+
5155
```
56+
npm install
57+
npm run build # compiles TypeScript source files to JavaScript
58+
npm run launch-as-server # launches the debug adapter in server mode
59+
# execute this in a separate terminal
60+
npm run test-mac # run tests on ios device
61+
```
5262
53-
3. To install the extension drag and drop the `nativescript-*.*.*.vsix` package in the VS Code.
63+
4. To install the extension drag and drop the `nativescript-*.*.*.vsix` package in the VS Code.

0 commit comments

Comments
 (0)