Skip to content

Commit 2c4d94d

Browse files
committed
Update README.md
Add more context around the testing of this package. This explains why we need the difference and what the difference is. Additionally, mark the fact that the VS2019 terminal should be used for testing and building with SPM.
1 parent 96091d7 commit 2c4d94d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,14 @@ copy Examples\UICatalog\Info.plist .build\x86_64-unknown-windows-msvc\debug\
4444
.build\x86_64-unknown-windows-msvc\debug\UICatalog.exe
4545
```
4646

47-
## Running tests
47+
In order to get access to the manifest tool (`mt`), the build and testing should occur in a "x64 Native Tools Command Prompt for VS2019"
4848

49-
In order to run unit tests of Swift/Win32 you need to:
50-
1. Open `x64 Native Tools Command Prompt for VS 2019`.
51-
2. Run `swift test -Xswiftc -DENABLE_TESTING`.
49+
## Testing
50+
51+
The current implementation is still under flux and many of the interfaces we expect to be present are not yet implemented. Because clearly indicating the missing surface makes it easier to focus on what needs to be accomplished, there are many instances of interfaces being declared but not implemented. Most of these sites will abort if they are reached. In order to enable testing for scenarios which may interct with these cases, a special condition has been added as `ENABLE_TESTING` to allow us to bypass the missing functionality.
52+
53+
You can run tests by adding that as a flag when invoking the SPM test command as:
54+
55+
```cmd
56+
swift test -Xswiftc -DENABLE_TESTING
57+
```

0 commit comments

Comments
 (0)