We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d645e48 commit b731280Copy full SHA for b731280
Sources/Testing/Testing.docc/DefiningTests.md
@@ -25,8 +25,9 @@ contains the test:
25
import Testing
26
```
27
28
-- Note: Only import the testing library into a test target. Importing the
29
- testing library into an application, library, or binary target isn't
+- Note: Only import the testing library into a test target or library meant for
+ test targets. Importing the testing library into a target intended for
30
+ distribution such as an application, app library, or executable target isn't
31
supported or recommended. Test functions aren't stripped from binaries when
32
building for release, so logic and fixtures of a test may be visible to anyone
33
who inspects a build product that contains a test function.
0 commit comments