Skip to content

Decide approach to testing #10

@lawrence-forooghian

Description

@lawrence-forooghian

I've deferred this from the initial setup of the library. A few options that I considered:

Need to decide whether it matters whether the plugin test suite has access to a stable testing API. We're in control of which version of ably-cocoa gets used for testing the plugin in CI, but we need to be sure that our plugin test suite won't get built as part of any user's build process (because then the user will be locked into a specific version of ably-cocoa, i.e. the one for which our non-stable API usage compiles, and we don't want that). I don't think that SPM will ever try building our test suite in a user's app but need to confirm.

Might start off with just using import Ably.Private directly and see how that goes. Don't yet have a great idea of how much private API usage we're even going to need (from looking at the ably-js LiveObjects tests, not loads).

┆Issue is synchronized with this Jira Task by Unito

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions