You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add missing testTarget for package init swift-testing tests (#9152)
### Motivation:
When running `swift package init --type executable
--enable-swift-testing` an example test is generated but the test target
is not created in the manifest.
### Modifications:
Add the missing test target to the manifest when these types are
initialized with swift-testing tests. This applies to the `tool` and
`executable` types.
### Result:
Packages are initialized with a test target and running `swift test`
runs the generated test successfully.
Issue: #9149
0 commit comments