Skip to content

Commit 6b0bf3c

Browse files
committed
Update CONTRIBUTING.md
1 parent 7cd8802 commit 6b0bf3c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,22 @@ There are two permanent brances: **master** and **dev**.
55
**Master** always points to the latest release tag.
66
All development is done in **dev** branch,
77
please, use it for pull requests.
8+
9+
10+
Run tests locally
11+
-----------------
12+
The most up-to date version can be crafted by following [appveyor tests steps](appveyor.yml).
13+
Currently tests use hardcoded path for a sublime text installation `C:\st`.
14+
You can use the same script [appveyour.ps1](https://github.com/randy3k/UnitTesting/blob/master/sbin/appveyor.ps1) for installing sublime and tests execution.
15+
Separate installation used to avoid accident breaking the main installtion.
16+
17+
One time install:
18+
19+
1. download [appveyour.ps1](https://github.com/randy3k/UnitTesting/blob/master/sbin/appveyor.ps1).
20+
2. run one-time bootstrap: `.\appveyor.ps1 "bootstrap" -verbose` to install ST in `C:\st` and download [UnitTesting](https://github.com/randy3k/UnitTesting) package.
21+
3. Install PowerShell unit testing framework [Pester](https://github.com/pester/Pester).
22+
23+
Run tests:
24+
25+
1. Run python tests `.\appveyor.ps1 "run_tests" -verbose`. They generate inputs for pester tests.
26+
2. Run pester tests `Invoke-Pester`.

0 commit comments

Comments
 (0)