prosody/tests
2021-05-07 13:02:43 +02:00
..
bats Add tests that check if postgres or sqlite is used. 2021-05-07 13:02:43 +02:00
docker-compose.yml WIP test refactoring, TODO run tests for second prosody container 2021-05-02 13:30:37 +02:00
readme.md Prepare for version v1.1.3 2020-10-30 17:53:00 +01:00
requirements.txt WIP Add environment variables for Database configuration. TODO test it with postgres 2021-05-01 13:04:23 +02:00
test.bash Add tests that check if postgres or sqlite is used. 2021-05-07 13:02:43 +02:00
test_prosody.py Create tests (#15) 2020-10-30 17:47:05 +01:00
tests-prosody.bats Add tests that check if postgres or sqlite is used. 2021-05-07 13:02:43 +02:00
tests-prosody_postgres.bats Add tests that check if postgres or sqlite is used. 2021-05-07 13:02:43 +02:00
tests.bats Run tests for prosody with postgres and also for prosody with sqlite. TODO Add tests that check if postgres or sqlite is used. 2021-05-07 11:00:17 +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