feat: add run-all-tests.sh — single-invocation external testsuite
Same env vars as run-tests.sh but runs all test files in one pytest call for a unified summary. Use run-tests.sh for selective per-file runs. Part-of: <http://gitlab.vnc.biz/uxf/vnctalk-prosody/-/merge_requests/3>
This commit is contained in:
Executable
+34
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Run the full testsuite against an external (non-compose) Prosody deployment
|
||||
# in a single pytest invocation (unified summary).
|
||||
#
|
||||
# For per-file selective runs, use run-tests.sh instead.
|
||||
#
|
||||
# Tests that need compose-specific infrastructure (docker exec, MOCK_URL,
|
||||
# low smacks_hibernation_time) will skip automatically.
|
||||
#
|
||||
set -euo pipefail
|
||||
|
||||
export XMPP_HOST=xmpp.microlab.zimbra-vnc.de
|
||||
export XMPP_PORT=30522
|
||||
export XMPP_JID=lisa.porter@microlab.zimbra-vnc.de
|
||||
export XMPP_PASSWORD=q3tx65test
|
||||
export XMPP_JID2=richard.watson@microlab.zimbra-vnc.de
|
||||
export XMPP_PASSWORD2=q3tx65test
|
||||
export XMPP_DOMAIN=microlab.zimbra-vnc.de
|
||||
export BOSH_URL=https://xmpp.microlab.zimbra-vnc.de/http-bind
|
||||
export WS_URL=wss://xmpp.microlab.zimbra-vnc.de/xmpp-websocket
|
||||
export REST_URL=https://xmpprest.microlab.zimbra-vnc.de/rest
|
||||
export MUC_DOMAIN=conference.microlab.zimbra-vnc.de
|
||||
export ADMIN_TELNET_HOST=127.0.0.1
|
||||
export ADMIN_TELNET_PORT=5582
|
||||
export REST_USER=vnctalk
|
||||
export REST_PASSWORD=ohtai2Eicai4aiting7bec2am6Aih
|
||||
export PG_HOST=localhost
|
||||
export PG_PORT=14322
|
||||
export PG_DB=prosody
|
||||
export PG_USER=prosody
|
||||
export PG_PASSWORD=eS5Gi7ahzo3chaiXiel0ief
|
||||
|
||||
pytest tests/ -v -c tests/pytest.ini
|
||||
Reference in New Issue
Block a user