Skip to content

Resolve "Clean up output of tests"

William Armando Munoz requested to merge 189-clean-up-output-of-tests into master

Description

Tests are cleaned up from unnecessary output by removing some print() statements or replacing these with a proper test that capture the stdout without adding more verbose output.

Docstrings for test cases were edited with line breaks in order to prevent unittest module from printing docstring when running the testing framework. That means that you will see many changes here setting the docstring to the following format:

def testing_is_good_oh_yeah(self):
"""
Shame on you hiphive for not testing your code.
"""

Demo

Running tests/main.py script should print on your screen a list with all the test cases, most of them with a ok, few with a expected_failure and nothing more.

Closes #189 (closed)

Merge request reports