Skip to content

Commit 296fb12

Browse files
tomaszpieczykolancompnerd
authored andcommitted
Add an instruction for running unit tests
1 parent 38f8f91 commit 296fb12

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,16 @@ mt -nologo -manifest Examples\UICatalog\UICatalog.exe.manifest -outputresource:.
4343
copy Examples\UICatalog\Info.plist .build\x86_64-unknown-windows-msvc\debug\
4444
.build\x86_64-unknown-windows-msvc\debug\UICatalog.exe
4545
```
46+
47+
## Running tests
48+
49+
In order to run unit tests of Swift/Win32 you need to:
50+
1. Open `x64 Native Tools Command Prompt for VS 2019` as administrator.
51+
2. `cd` to the location of Swift/Win32 on your local computer.
52+
3. Run `swift test -Xswiftc -DENABLE_TESTING`.
53+
54+
### Required software for running tests
55+
56+
| Component | Visual Studio ID |
57+
| --- | --- |
58+
| Git for Windows | Microsoft.VisualStudio.Component.Git |

0 commit comments

Comments
 (0)