prosody/tests
2024-11-18 15:22:56 +01:00
..
bats Update bats-assert + bats-core + bats-support () 2022-05-18 16:50:37 +02:00
glauth Add tests for prosody with LDAP authentication () 2023-03-28 08:08:01 +02:00
docker-compose.yml Update postgres version in tests 2024-11-18 12:55:05 +01:00
readme.md Prepare for version v1.1.3 2020-10-30 17:53:00 +01:00
requirements.txt Update to debian bookworm () 2023-07-09 09:59:41 +02:00
test.bash Replace 'docker-compose' with 'docker compose' 2024-11-18 15:22:56 +01:00
test_prosody.py Add tests for prosody with LDAP authentication () 2023-03-28 08:08:01 +02:00
tests-prosody.bats Replace 'docker-compose' with 'docker compose' 2024-11-18 15:22:56 +01:00
tests-prosody_ldap.bats Replace 'docker-compose' with 'docker compose' 2024-11-18 15:22:56 +01:00
tests-prosody_postgres.bats Replace 'docker-compose' with 'docker compose' 2024-11-18 15:22:56 +01:00
tests.bats Replace 'docker-compose' with 'docker compose' 2024-11-18 15:22:56 +01: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