mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 05:00:36 +00:00
80216c5fdc
* Add environment variables for Database configuration. * Install postgres and mysql dependencies. * Test refactoring * Run tests for prosody with postgres and also for prosody with sqlite. * Add tests that check if postgres or sqlite is used. |
||
---|---|---|
.. | ||
bats | ||
docker-compose.yml | ||
readme.md | ||
requirements.txt | ||
test.bash | ||
test_prosody.py | ||
tests-prosody.bats | ||
tests-prosody_postgres.bats | ||
tests.bats |
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