-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
pytest.param() is not documented #2658
Comments
Thanks @hynek! |
I'm afraid it doesn't do much and looks to only be a shorthand for another undocumented method: https://github.com/pytest-dev/pytest/blob/master/_pytest/mark.py#L80 I'm not very familiar with the pytest codebase, but it doesn't seem like it's built for external use. |
It is intended for public use, to apply markers in |
Hi, I just found a little example of it in the documentation (in the second code example of this parametrize section) Should It be extended? Maybe a new section in the same doc page (parametrize)? |
@rlaverde definitely, including a full specification of the parameters would be nice as well. |
Hi everyone! I'm a new contributor to Pytest. Based on the discussion above I submitted PR #2881 addressing this issue. Could you help me review the PR? Any suggestion is welcome. Thank you! |
Closed by #2881 |
I’ve learned about pytest.param by accident and I’m still not sure what it’s for. It’s used offhand in some examples, but there’s neither any narrative docs nor does it appear in https://docs.pytest.org/en/latest/builtin.html .
Pls fix. :)
The text was updated successfully, but these errors were encountered: