Azure / Azure/pytest-azurepipelines

More info about docstrings

Open
#85 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
124
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/Azure/pytest-azurepipelines/assets/191278/00577151-581a-4ffd-a608-ac7caea87cc3)

One test has a one-line docstring `"""description"""`, where another one is:
```python
def test_simple_script(datafiles: str):
"""Test description

Longer description

Args:
datafiles (str): directory with test data
"""
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.