Skip to content

Introduce runtime.ForMatrixVersion #549

@ShadowJonathan

Description

@ShadowJonathan

Related to #335, and as a related alternative to what I was trying to do in #242;

Introduce runtime.ForMatrixVersion(major, minor uint8), which will fetch /client/versions and compare if the given version is compatible with any version given.

If not, skip the test.

This'd make it possible for complement to skip whole hosts of tests automatically if the server does not broadcast support for it.

It would also self-document the feature prescribing itself only for/after a certain matrix version, which would help with sorting through them at a later time.

In the future, it could also be possible to do the same for MSCs (via `unstable_features matching, and such)

Metadata

Metadata

Assignees

No one assigned

    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