xmpp.js
xmpp.js copied to clipboard
Run e2e against multiple XMPP server implementations
Right now we only run integration tests against prosody.
Would be neat to run them against at least openfire, ejabberd and maybe jackal
Priority would be openfire because of #914
Also, openfire is trivial to use
wget https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_4_6_4.tar.gz
tar -xf openfire_4_6_4.tar.gz
cd openfire
./bin/openfire start
# setup at localhost:9090 - we need to automate his
Hey, feel free to ping me about Openfire issues (I'm a core contributor)
To start a pre-provisioned version of Openfire, use ./bin/openfire.sh -demoboot. That will start Openfire using the embedded database, configured to use a domain named example.org, with an administrative account that uses as its credentials admin/admin and two users accounts: john/secret and jane/secret
Likewise, if you can tell me how to run e2e tests, I can see if we can add those to the suite of tests that we run in Openfire's CI.
@guusdk sweet
e2e tests are fairly specific at the moment. I will make a “public interface” for them and come back to you.
My todo list:
- env vars for connection parameters (credentials, port, url, ...)
- add a make target and documentation for running the e2e tests
Aside from that anything else you would need?
As with anything Javascript-ish, I need to be explained as if I'm a four-years-old. :)
What probably would be helpful is:
- how to determine if the tests succeed or fail
- determine why a particular test failed