<div dir="ltr"><div>Hello,<br><br><a href="https://bitbucket.org/pytest-dev/pytest/issue/463/add-alias-for-parametrize-or-provide">https://bitbucket.org/pytest-dev/pytest/issue/463/add-alias-for-parametrize-or-provide</a><br><br></div>It is, I think, a relatively common and easy error for someone to type 'pytest.mark.parameterize' instead of 'pytest.mark.parametrize'. At the moment doing so (wrongly putting an extra 'e') results in an error like<em> "fixture 'arg' not found" </em>which is not very revealing as to what the problem actually is.<em><br></em><div><br></div><div>Two reasonable options would be<br></div><div>1) Treat parameterize as an alias of parametrize, so they behave identically<br></div><div>2) Check for the misspelling and raise a specific error about it<br><br></div><div>What are people's thoughts about the best approach?<br><br></div><div>cheers<br></div><div>Brianna<br></div><div><br clear="all"><div><br>-- <br><div class="gmail_signature">They've just been waiting in a mountain for the right moment: <a href="http://modernthings.org/">http://modernthings.org/</a></div>
</div></div></div>