A repository designed to collect tests that simulate the features provided by EMD Courtesy Message.
Install pipenv:
pip install pipenv
Create and enter the virtual environment:
pipenv shell
Install dependencies:
pipenv sync
Update dependencies:
pipenv run pip freeze > requirements.txt
pipenv install -r requirements.txt
NOTE: Create
emd_feature_secrets.yamlbased onemd_feature_secrets_template.yamland customize it.
Run tests:
behave [--junit --junit-directory <JUNIT_OUTPUT_DIR>] [--tags @<[TEST_TAG/s]>]
For example this command runs tests with tag 'login' and save the junitxml report to a file:
behave --junit --junit-directory "tests/reports" --tags login
or save the html report to a file:
behave -f html-pretty -o ./tests/reports/behave-report.html