Python Unittest Cakupan Fungsi Utama

# N.B. works for Python, no guarantee with other languages.
# if you want to exclude the 'main' function in the test
# create a .coveragerc file and write the following lines:

[report]

exclude_lines =
    if __name__ == .__main__.:
wolf-like_hunter