prosody/tests
Sara Aimée Smiseth b70fcbd98e
Create tests (#15)
Created a tests folder which contains pytest and bats tests.
Pytest is used to login and send messages to other accounts.
Bats is used to check the log for debug messages.

This fixes #13.
2020-10-30 17:47:05 +01:00
..
bats Create tests (#15) 2020-10-30 17:47:05 +01:00
docker-compose.yml Create tests (#15) 2020-10-30 17:47:05 +01:00
readme.md Create tests (#15) 2020-10-30 17:47:05 +01:00
requirements.txt Create tests (#15) 2020-10-30 17:47:05 +01:00
test.bash Create tests (#15) 2020-10-30 17:47:05 +01:00
test_prosody.py Create tests (#15) 2020-10-30 17:47:05 +01:00
tests.bats Create tests (#15) 2020-10-30 17:47:05 +01:00

Tests

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