Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Make test utils reusable #14445

Open
Open
@julianhille

Description

@julianhille

There are test utils in the test directory which Fake Channels or sites, helps in building a synapse homeserver including correct urls and endpoints etc

This is really great but i can not reuse them for building plugins or other addons and so would need to copy them or rebuild them, which would again end in, somehow, copying them.

It would be great if there would be some kind of package like matrix-common which can be reused.

Because I needed something like that urgently, I started implementing it locally with an update system, released a package and uploaded it to pypi and there it is:
https://github.com/julianhille/matrix-synapse-testutils https://pypi.org/project/matrix-synapse-testutils/

Maybe this is of some use for some of you until there is an official package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-TestingIssues related to testing in complement, synapse, etcT-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions