Re: [pytest-dev] parametrize and ids

2013-06-06 Thread Brianna Laugher
On 29 May 2013 17:48, holger krekel hol...@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

Re: [pytest-dev] parametrize and ids

2013-05-28 Thread Brianna Laugher
Another alternative - I would often prefer just doing what metafunc.addcall does if you don't specify an id, which is just make an integer, like so: Function 'test_filterPrecipOrTS[0]' Function 'test_filterPrecipOrTS[1]' Function 'test_filterPrecipOrTS[2]' Function