mailinabox/test
Wolfgang Steitz 815dba94af tests: added requirements.txt 2017-02-02 15:41:52 +01:00
..
README.md tests: added requirements.txt 2017-02-02 15:41:52 +01:00
common.py test: start testing caldav 2017-02-02 15:41:52 +01:00
requirements.txt tests: added requirements.txt 2017-02-02 15:41:52 +01:00
settings.py starting a test suite (#777) 2017-02-02 15:41:52 +01:00
test_backup.py tests: added test for backup functionality 2017-02-02 15:41:52 +01:00
test_caldav.py tests: basic carddav tests 2017-02-02 15:41:52 +01:00
test_carddav.py tests: basic carddav tests 2017-02-02 15:41:52 +01:00
test_mail.py tests: added test for backup functionality 2017-02-02 15:41:52 +01:00
test_ssh.py starting a test suite (#777) 2017-02-02 15:41:52 +01:00
test_web.py starting a test suite (#777) 2017-02-02 15:41:52 +01:00

README.md

This is the mailinabox test suite. IT uses the excellent pytest module to check the functionality of the different services.

Usage

start-up a vagrant box

vagrant up

install test requirements

pip install -r requirements.txt

run the tests

pytest

to just run a subset of the tests (e.g. the ssh related ones):

pytest test_ssh.py

Contributing

pytest auto-discovers all tests in this directory. The test functions need to be named "test_..." and there needs to be at least one assert statement.

TODO

  • dns