prosody/tests
Sara Aimée Smiseth d8e5906e55
Fix deprecated config options (#64)
Adjust config:
Replace deprecated legacy_ssl with c2s_direct_tls.
Removed use_libevent = true. This means the default is now used which is epoll.

Added a test to check that no deprecated config settings are used.
2024-02-20 18:52:34 +01:00
..
bats Update bats-assert + bats-core + bats-support (#36) 2022-05-18 16:50:37 +02:00
glauth Add tests for prosody with LDAP authentication (#53) 2023-03-28 08:08:01 +02:00
docker-compose.yml Fix deprecated config options (#64) 2024-02-20 18:52:34 +01:00
readme.md Prepare for version v1.1.3 2020-10-30 17:53:00 +01:00
requirements.txt Update to debian bookworm (#54) 2023-07-09 09:59:41 +02:00
test.bash Add tests for prosody with LDAP authentication (#53) 2023-03-28 08:08:01 +02:00
test_prosody.py Add tests for prosody with LDAP authentication (#53) 2023-03-28 08:08:01 +02:00
tests-prosody.bats Add support for postgres, mariadb/mysql databases (#23) 2021-05-07 14:06:29 +02:00
tests-prosody_ldap.bats Add tests for prosody with LDAP authentication (#53) 2023-03-28 08:08:01 +02:00
tests-prosody_postgres.bats Add support for postgres, mariadb/mysql databases (#23) 2021-05-07 14:06:29 +02:00
tests.bats Fix deprecated config options (#64) 2024-02-20 18:52:34 +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