matrix-org / complement

Matrix compliance test suite
Apache License 2.0
61 stars 52 forks source link

Make the Complement Client public #657

Closed kegsay closed 1 year ago

kegsay commented 1 year ago

There are several copies of the complement client in other projects now, which just rip the file as it was at the time e.g sliding sync. We should make the Client public, which means we need it in a form we're willing to support going forwards.

The client should be extensible (so the DoFunc helpers that the public functions call should be accessible outside the package) so out-of-repository tests can add new API helpers e.g alice.SlidingSync(...).

kegsay commented 1 year ago

This critically needs to look at existing tests to look for common patterns and then make helpers for them.

kegsay commented 1 year ago

https://github.com/matrix-org/complement/pull/658