xmppjs / xmpp.js

XMPP for JavaScript
ISC License
2.19k stars 375 forks source link

Run e2e against multiple XMPP server implementations #916

Open sonnyp opened 3 years ago

sonnyp commented 3 years ago

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
guusdk commented 2 years ago

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.

sonnyp commented 2 years ago

@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:

Aside from that anything else you would need?

guusdk commented 2 years ago

As with anything Javascript-ish, I need to be explained as if I'm a four-years-old. :)

What probably would be helpful is: