mailinabox/test/README.md

34 lines
556 B
Markdown
Raw Normal View History

2016-12-11 15:00:04 +00:00
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
2016-12-15 22:50:08 +00:00
install test requirements
2016-12-11 15:00:04 +00:00
2017-01-23 20:12:13 +00:00
pip install -r requirements.txt
2016-12-11 15:00:04 +00:00
run the tests
pytest
to just run a subset of the tests (e.g. the ssh related ones):
pytest test_ssh.py
2017-01-23 20:12:13 +00:00
2016-12-11 15:00:04 +00:00
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