prosody/tests
Sara Aimée Smiseth e6415fa513
Add tests for prosody with LDAP authentication (#53)
This commit updates the docker-compose.yml file to use example.com domain instead of localhost.

It also adds a new Prosody instance using LDAP authentication with glauth as the backend. The commit also includes a new file config.cfg for the glauth server configuration.
2023-03-28 08:08:01 +02: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 Add tests for prosody with LDAP authentication (#53) 2023-03-28 08:08:01 +02:00
readme.md Prepare for version v1.1.3 2020-10-30 17:53:00 +01:00
requirements.txt Add LDAP authentication support to Prosody (#50) 2023-03-25 11:23:51 +01: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 Add tests for prosody with LDAP authentication (#53) 2023-03-28 08:08:01 +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