prosody-docker/tests
2024-05-05 16:40:57 +02:00
..
bats 2024-05-05 eguneraketa 2024-05-05 16:40:57 +02:00
glauth v1.2.9 2024-03-01 12:50:08 +01:00
docker-compose.yml 2024-05-05 eguneraketa 2024-05-05 16:40:57 +02:00
readme.md v1.2.9 2024-03-01 12:50:08 +01:00
requirements.txt v1.2.9 2024-03-01 12:50:08 +01:00
test_prosody.py v1.2.9 2024-03-01 12:50:08 +01:00
test.bash v1.2.9 2024-03-01 12:50:08 +01:00
tests-prosody_ldap.bats v1.2.9 2024-03-01 12:50:08 +01:00
tests-prosody_postgres.bats v1.2.9 2024-03-01 12:50:08 +01:00
tests-prosody.bats v1.2.9 2024-03-01 12:50:08 +01:00
tests.bats 2024-05-05 eguneraketa 2024-05-05 16:40:57 +02:00

Tests

Pytest is used to login and send messages to other accounts. Bats is used to check the log for debug messages.

Dependencies

  • docker
  • docker-compose
  • python 3

Run tests

Execute test.bash.

Upgrade python packages

The following will install the newest version of packages in requirements.txt.

cat requirements.txt | sed 's/==.*//g' | xargs pip install -U

If updates are available --> update and create new version with:

pip-chill > requirements.txt