-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
| Previous ID | SR-792 |
| Radar | None |
| Original Reporter | kkoval (JIRA User) |
| Type | Bug |
| Status | Resolved |
| Resolution | Done |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Package Manager |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
md5: 060b87caa199c47f7bfa394f5f69c85b
relates to:
- SR-2270 Should warn about loose source files in the
Testsdirectory
Issue Description:
By following this spec https://github.com/apple/swift-evolution/blob/master/proposals/0019-package-manager-testing.md the following folder layout should be supported.
very-simple:
├── Package.swift
├── Sources
│ └── Simple.swift
└── Tests
└── SimpleTest.swift
This Package layout don't generate Package.xctest
./swift-build
Compiling Swift Module 'verysimple' (1 sources)
This package folders layout generates Package.xctest
Simple:
├── Package.swift
├── Sources
│ └── Foo
│ └── Simple.swift
└── Tests
└── Foo
└── SimpleTest.swift