Commit eb09ba28 authored by Adrien Dorsaz's avatar Adrien Dorsaz

add a Makefile to run locally integration tests

parent f29f6b4b
.PHONY: requirements unit_test_acme_dns_tiny_success_san unit_test_acme_account_rollover unit_test_acme_account_deactivate
DEFAULT: requirements
unit_test_acme_dns_tiny_success_san:
python3 -m unittest tests.test_acme_dns_tiny.TestACMEDNSTiny.test_success_san
unit_test_acme_account_rollover:
python3 -m unittest tests.test_acme_account_rollover.TestACMEAccountRollover.test_success_account_rollover
unit_test_acme_account_deactivate:
python3 -m unittest tests.test_acme_account_deactivate.TestACMEAccountDeactivate.test_success_account_deactivate
unit_test_all_with_coverage:
python3-coverage run --source ./ -m unittest -v tests.test_acme_dns_tiny tests.test_acme_account_rollover tests.test_acme_account_deactivate
python3-coverage report --include=acme_dns_tiny.py,tools/acme_account_rollover.py,tools/acme_account_deactivate.py
python3-coverage html
requirements:
pip3 install --user --upgrade -r tests/requirements.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment