Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/half-shot/bridge-test
A utility to run integration tests on matrix.org bridges.
https://github.com/half-shot/bridge-test
Last synced: 26 days ago
JSON representation
A utility to run integration tests on matrix.org bridges.
- Host: GitHub
- URL: https://github.com/half-shot/bridge-test
- Owner: Half-Shot
- License: mit
- Created: 2017-04-02T15:01:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-27T16:19:36.000Z (over 7 years ago)
- Last Synced: 2024-12-09T20:08:45.886Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 357 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bridge-test
A utility to run integration tests on bridges.This tool is used to test my bridges for the Matrix platform,
in particular the integration between a homeserver and the
bridge.## Bridges
### Current
### Planned bridges
- ~~Twitter~~
- Discord## Required packages
This tool requires Python 3.2 or greater, and the following packages.
* tornado
* matrix_client
* PyYAML## Setup Instructions:
* Install synapse into the ``synapse`` directory, or point the config to a synapse install.
* In order to have good quality tests, the synapse database and media files are **ERASED** per bridge root test.
* Set the regisration secret token to the matching one in config so bridge-test
can create users on the fly.
* Config and registration files have been provided in the test directories, please make sure synapse is
configured to use these.
* The tool will automate the starting and stopping the HS, so **DO NOT USE**
a live server.## Running
Run ``python3 -m bridge-test -h`` for help.
A sample configuration file has also been provided.