New issue 463: Add alias for parametrize or provide better error reporting
https://bitbucket.org/hpk42/pytest/issue/463/add-alias-for-parametrize-or-provide
bgr_:
Consider adding an alias paramet**e**rize for parametrize, since it's a valid
spelling but using it in pytest will give a misleading error message - for the
code below error message will say *"fixture 'arg' not found"*, not mentioning
that paramet**e**rize doesn't exist.
```
#!python
import pytest
@pytest.mark.parameterize('arg, expected', [
(1, 1),
])
def test_confusion(arg, expected):
assert arg == expected
```
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit