Skip to content

Improve the xctest command so it looks for target and destination automatically #68419

@cyanglaz

Description

@cyanglaz

The xctest requires the -target and -ios-destination flags to manually specify those parameters. This made adding XCTests to the plugins a little more complicated. Also the need to specify the -ios-destination will require human intervention when ci updates the iOS devices used for testing.

To make the command smarter, we can improve it so that:

  • It looks for all the testing targets and run all the XCTests.

  • It looks for all the available devices and select one for testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: toolingAffects the flutter_plugin_tools packageplatform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions