- to run tests make sure
pytestis installed (pip install pytest) - running tests
pytest -s(-s option to see the result of print statements during tests) - to run tests with coverage make sure the
pytest-covplugin is installed (pip install pytest-cov) - to run tests with coverage for module
Semantics(use--cov=.for all modules)pytest --cov=Semantics --cov-report=html- There result can be viewed by opening a browser on
htmlcov/index.html