prosody/tests
Sara Aimée Smiseth 982ddcd60b
Move defaults from entrypoint script to cfg.lua files (#71)
* Move multiple defaults from entrypoint script to cfg.lua files.

* Move remaining defaults from entrypoint script to cfg.lua files.

* Update postgres version in tests

* Register users with prosodyctl in tests

* Replace 'docker-compose' with 'docker compose'
2024-11-19 15:09:13 +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 Move defaults from entrypoint script to cfg.lua files (#71) 2024-11-19 15:09:13 +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 Move defaults from entrypoint script to cfg.lua files (#71) 2024-11-19 15:09:13 +01:00
test_prosody.py Add tests for prosody with LDAP authentication (#53) 2023-03-28 08:08:01 +02:00
tests-prosody.bats Move defaults from entrypoint script to cfg.lua files (#71) 2024-11-19 15:09:13 +01:00
tests-prosody_ldap.bats Move defaults from entrypoint script to cfg.lua files (#71) 2024-11-19 15:09:13 +01:00
tests-prosody_postgres.bats Move defaults from entrypoint script to cfg.lua files (#71) 2024-11-19 15:09:13 +01:00
tests.bats Move defaults from entrypoint script to cfg.lua files (#71) 2024-11-19 15:09:13 +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