[TIP] [ANN] pytest.vim (py.test and vim integration)

Alfredo Deza alfredodeza at gmail.com
Sat Jan 29 16:25:15 PST 2011


On Sat, Jan 29, 2011 at 5:49 PM, Gary Bernhardt
<gary.bernhardt at gmail.com> wrote:
> On Fri, Jan 28, 2011 at 9:40 AM, Alfredo Deza <alfredodeza at gmail.com> wrote:
>>
>> After talking a bit with Holger yesterday I went ahead and got a VIM
>> plugin working that integrates py.test into the editor.
>
> There are some other red/green plugins descended from my vimrc as well:
>
> https://github.com/reinh/vim-makegreen
> https://github.com/leemuro/vim-rails-greenrake
> https://github.com/bigtiger/vim-rubyredgreen
>
> I'd like to see them all unified. Have you considered talking to these
> people?

Haven't seen those before. I guess they are way to Ruby-oriented; although
they do use  `:compiler` to some extent (like you mention as well).

Rein Henrichs (reinh)'s plugin uses :compiler to run the
> tests, making it language agnostic, although I've found it a bit
> finicky. I'd like to see plugins like this one (and the Ruby/Rails
> ones) turn into submissions to his plugin, rather than having all of
> these competing projects.

Mnnn I don't see *competition* per se here. Although the concept of
green/red bar is inherited from your .vimrc I see this (pytest.vim)
way to specific
to py.test (and Python) to consider a merge or submitting code.

However, I'm not closing the possibility to keep considering it. I
will get in touch with
them and will try to see if it makes sense a merge or code submission
at some point.

Thanks for your feedback.
>
> --
> Gary
> http://blog.extracheese.org
>



More information about the testing-in-python mailing list