alfredodeza / pytest.vim

Runs your UnitTests with py.test displaying red/green bars and errors
274 stars 39 forks source link

:Pytest function doesnt seem to act on parametrized functions #1

Closed RonnyPfannschmidt closed 13 years ago

RonnyPfannschmidt commented 13 years ago

tried to run one of anyvc's tests functions (which is parametrized) i know it passes, but i never got the confirmation

alfredodeza commented 13 years ago

There is no such thing as :Pytest function :)

This is something it should not take long to implement though. Currently, method, class and file are supported. Can you try and run :Pytest file and see your results? Also, looponfail would not work here as it is only working for methods only.

RonnyPfannschmidt commented 13 years ago

i'll try to implement one till the weekend (not sure if i find the time)

it might be helpful to error out for unknown stuff

alfredodeza commented 13 years ago

I beat you to it. The latest push contains a few fixes:

Function is now a valid option :Pytest function

looponfail was added for file, class, method or function

And an error message is now displayed when you pass in an unknown parameter for Pytest.vim