{{xmpp.data.me.jid.user}}@{{xmpp.data.me.jid.domain}}{{$index}}. {{item}} ✓ ✖{{expected[counter][rowIndex][item]|json}} commands{{command.i +1}}: {{command.command}} {{command.good}} {{command.bad}} |
This is an automatic test client for angular-xmpp. It works with 3 xmpp accounts and sends commands to the websocket. After sending the command it waits for ~2 seconds, tests the angular-xmpp state and then sends the next command.
When the test is finished, all created data should be removed from server. If you cancel a test, there will be remaining data on the server and the next test can not succeed. If you see an error, please wait until the testrun is finished and then start again.
The testfiles are very big and it's not really possible to generate by hand. The purpose is to keep the API consistent. The testfiles (expected.json) can be generated automaticaliy (textarea)
This tool shows you if the API has changed. If it is a change by purpous, copy the automatic generated protocol file and use as the new testdefinition