-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Description
Previous ID | SR-12232 |
Radar | rdar://problem/59655518 |
Original Reporter | tannernelson (JIRA User) |
Type | Bug |
Attachment: Download
Environment
Xcode Version 11.4 beta (11N111s)
Additional Detail from JIRA
Votes | 1 |
Component/s | |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: 1a81d491ee635b8aef736c38df2e9633
Issue Description:
The following code runs `testStuff` on macOS in Xcode and via CLI. However, on Linux using --enable-test-discovery, the `testStuff` method is not found resulting in no tests running.
// module A
open class Foo: XCTestCase { }
extension Foo {
func testStuff() { ... }
}
// module B
import A
final class Bar: Foo { }
Potentially related to https://bugs.swift.org/browse/SR-11951, but I'm not sure.
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.