Our goal is to consolidate all of the Metrics Platform client libraries, including the Swift library, into a single repository, mediawiki/libs/metrics-platform. We'd prefer to keep it hosted in Gerrit and CI-tested in Wikimedia's infrastructure. Testing in our CI infrastructure requires that we do not use any proprietary code.
We need to answer the following:
- Can we do the testing we need exclusively with open-source Swift tooling?
- https://github.com/apple/swift-corelibs-xctest looks like the testing framework we need. Is it?
- Do we get it "for free" via the swift executable in the official swift Docker images?
- If not, are there one or more other components that will meet our needs?
Expected outcome: A Dockerized proof-of-concept implementation showing that https://github.com/apple/swift-corelibs-xctest (or similar alternative) will meet our needs.