Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docstring: Add decorator to format the docstrings #33

Merged
merged 1 commit into from
Aug 11, 2015

Commits on Aug 10, 2015

  1. docstring: Format the docstrings

    Some test frameworks like nose use the docstring to output information
    about a test. In the case of generated tests all of them would get the
    same description. Format of the docstring for each generated test
    function using the test values.
    
    Example:
    
    @DaTa(1,2)
    def test_A(value):
        """Test A for value {}"""
        ...
    
    executed with "nosetests -v", will output:
    Test A for value 1
    Test A for value 2
    
    Signed-off-by: [email protected]
    domidimi committed Aug 10, 2015
    Configuration menu
    Copy the full SHA
    26b7752 View commit details
    Browse the repository at this point in the history