Skip to content

Files

This branch is 380 commits behind zero-to-mastery/ascii-art:master.

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 6, 2020
Oct 6, 2020
Oct 5, 2020

The tests.py is a simple example of using unittest.

Just have fun adding some new tests, modify them, etc :)

Usage: python -m unittest -v tests.Testing


Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed but was not.

Usage:

Run: coverage run ../community-version.py ../ztm-logo.png

See the report: coverage report

See the report in html with a view of what was tested:

coverage html
(this command will create a folder 'htmlcov' with the test report in html)