1
0
Fork 0
forked from mirror/prosody
prosody/tests
2022-08-24 17:10:54 +02:00
..
bats Update bats-assert + bats-core + bats-support (#36) 2022-05-18 16:50:37 +02:00
docker-compose.yml Renamed STORAGE to DEFAULT_STORAGE. Added ARCHIVE_STORE and STORAGE_ARCHIVE2. 2022-08-24 17:10:54 +02:00
readme.md Prepare for version v1.1.3 2020-10-30 17:53:00 +01:00
requirements.txt Update prosody to version 0.12.0 (#35) 2022-05-05 18:25:19 +02:00
test.bash Renamed STORAGE to DEFAULT_STORAGE. Added ARCHIVE_STORE and STORAGE_ARCHIVE2. 2022-08-24 17:10:54 +02:00
test_prosody.py Create tests (#15) 2020-10-30 17:47:05 +01:00
tests-prosody.bats Add support for postgres, mariadb/mysql databases (#23) 2021-05-07 14:06:29 +02:00
tests-prosody_internal_storage.bats * New environment variable STORAGE was added. Defaults to sql like before. See [prosody docs](https://prosody.im/doc/storage). This fixes [#38](https://github.com/SaraSmiseth/prosody/issues/38). 2022-08-19 10:10:00 +02:00
tests-prosody_internal_storage_archive.bats Renamed STORAGE to DEFAULT_STORAGE. Added ARCHIVE_STORE and STORAGE_ARCHIVE2. 2022-08-24 17:10:54 +02:00
tests-prosody_postgres.bats Add support for postgres, mariadb/mysql databases (#23) 2021-05-07 14:06:29 +02:00
tests.bats Renamed STORAGE to DEFAULT_STORAGE. Added ARCHIVE_STORE and STORAGE_ARCHIVE2. 2022-08-24 17:10:54 +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