Wed, 03 May 2017 12:16:14 +0100
Add README
1 | 1 | Introduction |
2 | ============ | |
3 | ||
4 | This repository allows building the latest aioxmpp test suite into a convenient portable Docker image, which can | |
5 | be used to launch the tests inside a container, pointed towards the XMPP server of your choice. | |
6 | ||
7 | Building | |
8 | ======== | |
9 | ||
10 | In the repository, run: | |
11 | ||
12 | docker build -t aioxmpp-tests . | |
13 | ||
14 | Running | |
15 | ======= | |
16 | ||
17 | docker run --rm -e SERVER_HOST=localhost -e SERVER_PORT=5222 aioxmpp-tests | |
18 | ||
19 | Limitations | |
20 | =========== | |
21 | ||
22 | Currently only the anonymous provisioner is used, which requires anonymous authentication to be enabled | |
23 | on the server. For this reason it attempts to connect to the XMPP host 'anon.localhost', assuming this | |
24 | to allow anonymous authentication. If you need to specify a different XMPP host, this is currently not | |
25 | implemented, but patches welcome (it's trivial to do). |