Mock out an xmpp server
The current xmpp tests are rather spare, and don't seem to shake many bugs out of higher-level systems.
Instead, put together a mock XMPP server -- little more than static strings and an input expectation system. Likely, the underlying facility's available as an NPM and we just have to code in the XMPP protocol bits.
We have a high-level test to make sure we can log in, which has been useful for verifying basic socket / ssl compatibility.
There aren't many tests of the xmpp protocol there, because they are largely covered by node-xmpp itself. https://github.com/node-xmpp/node-xmpp/tree/master/test https://github.com/node-xmpp/node-xmpp-core/tree/master/test
Those tests aren't very complete. The node-xmpp tests don't represent what we know about what varies between xmpp implementations, and doesn't let us reproduce behavior seen in the wild. Those tests don't actually seem to test very much (unless I've missed a big file somewhere) about variations in protocol behavior at all.
Closing as this is not currently a priority.