Skip to content

Conversation

@brentleyjones
Copy link
Collaborator

@brentleyjones brentleyjones commented Jun 21, 2024

This attribute, which is True by default, controls whether XCTest-style tests are automatically discovered (either using the Objective-C runtime or manual discovery via symbol graphs). If set to False, the test is assumed to provide its own main.

This will subsume the behavior of the swift.bundled_xctests feature, which will be removed in the future.

PiperOrigin-RevId: 471589475
(cherry picked from commit 477b48a)

brentleyjones referenced this pull request Jun 21, 2024
This attribute, which is `True` by default, controls whether `XCTest`-style tests are automatically discovered (either using the Objective-C runtime or manual discovery via symbol graphs). If set to `False`, the test is assumed to provide its own `main`.

This will subsume the behavior of the `swift.bundled_xctests` feature, which will be removed in the future.

PiperOrigin-RevId: 471589475
@brentleyjones brentleyjones force-pushed the bj/add-a-discover_tests-attribute-to-swift_test branch 2 times, most recently from ed0ab66 to 2a4b01b Compare June 21, 2024 18:03
@brentleyjones brentleyjones enabled auto-merge (rebase) June 21, 2024 18:05
This attribute, which is `True` by default, controls whether `XCTest`-style tests are automatically discovered (either using the Objective-C runtime or manual discovery via symbol graphs). If set to `False`, the test is assumed to provide its own `main`.

This will subsume the behavior of the `swift.bundled_xctests` feature, which will be removed in the future.

PiperOrigin-RevId: 471589475
(cherry picked from commit 477b48a)
Signed-off-by: Brentley Jones <[email protected]>
@brentleyjones brentleyjones force-pushed the bj/add-a-discover_tests-attribute-to-swift_test branch from 2a4b01b to da193cb Compare June 21, 2024 21:03
@brentleyjones brentleyjones merged commit 9ddb40f into master Jun 22, 2024
@brentleyjones brentleyjones deleted the bj/add-a-discover_tests-attribute-to-swift_test branch June 22, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants