Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Compliance Tests #685

Open
NinekoTheCat opened this issue Feb 6, 2025 · 0 comments
Open

Custom Compliance Tests #685

NinekoTheCat opened this issue Feb 6, 2025 · 0 comments

Comments

@NinekoTheCat
Copy link
Contributor

Custom Compliance Tests

Why?

There are specifications clients & conduwuit support that are not included in the official compliance tests. However the main compliance repository is also a go module that can be used to create custom unofficial compliance tests.
This would make development easier and regressions less likely as to check if a feature is properly implemented we just need to write a compliance test for it once and CD-CI or your local computer can run it and see the result.

How?

There are multiple options to do this some of these include:

  • Rust specific library to test matrix specs (takes long time)
  • Go module for compliance tests for spec elements that have not been officially added (uses existing dependencies that have been battle-tested)
    Go module seems like the easiest and fastest way to make this work as it already fits in to an existing pattern.

Resources that could be helpful

https://github.com/matrix-org/complement/blob/main/OUT-OF-REPO-TESTS.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant