Invitation to "adopt pytest month"

Brianna Laugher brianna.laugher at gmail.com
Wed Mar 25 06:57:46 EDT 2015


Hello!

The scope can be literally whatever Kallithea decides. Happily it is the
kind of task that lends itself to progressive success. Using pytest as the
test runner is the obvious starting point, and I guess integrating it with
a CI server.

Distributed testing generally works very well with pytest xdist (and is
always a great way to shake out test interdependencies). There is a
built-in fixture called tmpdir which probably beats writing to tmp. And a
fixture that sets up a vcs repo sounds like an obvious need.

So you could choose to focus on setting up infra for new tests, or on
converting existing tests to be more "pytestonic", or a bit of both.

We are not talking about a huge amount of time so it is really a starting
point, and the most benefit would be to have someone actively working on it
and not just accepting PRs that look vaguely right, as then you have
someone invested and knowledgeable once the month is over. But, when people
are stretched, perhaps even that has some value. I just would not like to
see the situation that after April the team decides it's all too difficult
and they revert all the work.

Cheers,
Brianna
On 25/03/2015 11:16 AM, "Thomas De Schampheleire" <
patrickdepinguin at gmail.com> wrote:

> Hi,
>
> On Mon, Mar 23, 2015 at 10:35 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> >
> > On 20 Mar 2015 09:32, "Mads Kiilerich" <mads at kiilerich.com> wrote:
> >>
> >> On 03/19/2015 11:30 PM, Brianna Laugher wrote:
> >>>
> >>> Hello,
> >>>
> >>> I am a contributor to the testing library pytest, and in April we are
> >>> holding "adopt pytest month". We are inviting open source projects who
> >>> are interested in possibly taking up pytest, to be paired with
> >>> experienced pytest users, who can help them convert and write tests,
> >>> and show ways to make the most of pytest. More info here:
> >>> https://pytest.org/latest/adopt.html
> >>>
> >>> Pytest tests typically require much less boilerplate and feel more
> >>> "Pythonic" than unittest style tests, and there are also 100+ plugins
> >>> available, as well as many API hooks for writing your own
> >>> customisations. (Although, it can run unittest style tests by default,
> >>> as well as nose and doctests.) So... we think it's pretty cool and
> >>> have lots of volunteers eager to help spread the love.
> >>>
> >>> This is a bit of a cold call email, so please excuse me for butting
> >>> in. Although I noticed testing is on your "road map", so... if there
> >>> is someone who would be interested in working with a
> >>> pytest volunteer on this...please let me know/sign up! :)
> >>
> >>
> >> Thank you for the offer! We could certainly use that - there is a lot of
> >> room for improvement here ;-)
> >>
> >> The big question is if someone "here" have time and timing to work on it
> >> on our side and pair with you. That would be awesome. Anyone?
> >
> > I would be interested in working on it, but I'd be a Kallithea newbie as
> > well when it came to actually submitting patches to the project.
>
> I would also like to express my support to this initiative.
> My time is also severely limited, but I'm willing to help guide a
> person from the pytest side via e-mail (in cooperation with others
> like Mads and Nick, hopefully).
>
> What would the scope of this month be, besides switching the test runner?
>
> - One aspect I recently inquired about myself is related to fixtures
> and the creation/modification of a repository for the execution of a
> test. See
> http://lists.sfconservancy.org/pipermail/kallithea-general/2015q1/000232.html
> and Mads' reply:
>
> http://lists.sfconservancy.org/pipermail/kallithea-general/2015q1/000272.html
> .
>   Fixing this would probably require both help from pytest as internal
> knowledge of Kallithea.
>
> - Improving existing tests to write them in a more pytest way could be
> interesting
>
> - Misc improvements
>   - do not dump all test files in /tmp but rather in a subdirectory
>   - check why parallel test execution seems to fail (at least on
> nosetests it does)
>
> - ... ?
>
> Best regards,
> Thomas
> _______________________________________________
> kallithea-general mailing list
> kallithea-general at sfconservancy.org
> http://lists.sfconservancy.org/mailman/listinfo/kallithea-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20150325/e81516d0/attachment.html>


More information about the kallithea-general mailing list