Testcenter: XmppCore ({{counter }}/{{expected.length}}/{{good}}/{{bad}})

{{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 the automatic generated testfile

Automatic testing

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.

Possible Problems

This Test system works with real accounts. The accounts should be in the same state as after creating the account. If not, the tests WILL FAIL.

For funny persons

If you are very smart, you can change to passwords of the testaccounts. This online test-tool is broken then until somebody repairs it.

Creating new tests

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