On 29 May 2013 17:48, holger krekel
<holger@merlinux.eu> wrote:
agreed. One a sidenote, yesterday i introduced a briefer way to
specify argument names. Your example would start like this:
@pytest.mark.parametrize("wx,expectedCoverage,expectedTrend", ...)
and you can also have spaces after the commas if you prefer.
I noticed that :) looks good. I think of parametrize like specifying namedtuples so it is a good improvement.
I'd recommend to write a wrapper "@myparametrize" which generates a
pytest.mark.parametrize() instance in the end. This way you could use
and consolidate your API ideas in real life with today's pytest in real
life before aiming for pytest inclusion.