Azure / pytest-azurepipelines

Plugin for pytest that makes it simple to work with Azure Pipelines
MIT License
112 stars 35 forks source link

More info about docstrings #85

Open fralik opened 1 year ago

fralik commented 1 year ago

I wonder how docstrings usage should work. I run tests from a nested folder like pytest path/path/path/package/tests, I have docstrings in my tests, but I see this in Azure DevOps: image

One test has a one-line docstring """description""", where another one is:

def test_simple_script(datafiles: str):
    """Test description

    Longer description

    Args:
        datafiles (str): directory with test data
    """
patou01 commented 1 year ago

Hi, having the same situation here. Did you find a solution?