Hi all,

Here is a PR that introduces pytest. Your opinions are highly appreciated!
;)
https://github.com/apache/airflow/pull/6472

Travis's red due to one test (test_on_kill) but it can be fixed as seen in
previous commits.

Bests,
Tomek

On Thu, Oct 31, 2019 at 6:11 PM Chao-Han Tsai <milton0...@gmail.com> wrote:

> +1
>
> On Wed, Oct 30, 2019 at 5:37 PM Felix Uellendall <felue...@pm.me.invalid>
> wrote:
>
> > +1 of course 👍
> >
> > Felix
> >
> > Sent from ProtonMail Mobile
> >
> > On Wed, Oct 30, 2019 at 17:31, Kaxil Naik <kaxiln...@gmail.com> wrote:
> >
> > > And yes we should merge it as soon as we have all green
> > >
> > > On Wed, Oct 30, 2019 at 4:28 PM Kaxil Naik <kaxiln...@gmail.com>
> wrote:
> > >
> > >> +1 pytest is way better
> > >>
> > >> On Wed, Oct 30, 2019 at 3:59 PM Driesprong, Fokko
> <fo...@driesprong.frl
> > >
> > >> wrote:
> > >>
> > >>> +1 Can't wait!
> > >>>
> > >>> Op wo 30 okt. 2019 om 16:57 schreef Ash Berlin-Taylor <
> a...@apache.org
> > >:
> > >>>
> > >>> > I'm not sure this even warrants an AIP. What do people think? Once
> > the
> > >>> > tests are passing (and making them pass is a good thing as it means
> > they
> > >>> > are less reliant on side-effects or ordering from previous tests)
> > this
> > >>> > isn't that big a change, right?
> > >>> >
> > >>> > (+1 though. Love py-test)
> > >>> >
> > >>> > -a
> > >>> >
> > >>> > > On 30 Oct 2019, at 14:49, Jarek Potiuk <jarek.pot...@polidea.com
> >
> > >>> wrote:
> > >>> > >
> > >>> > > I think it's the right time to vote - I think the benefits are
> > obvious
> > >>> > and
> > >>> > > seeing the number of problems you already fixed (I followed the
> > draft
> > >>> PR)
> > >>> > > it is quite doable to finish that in a short time.
> > >>> > >
> > >>> > > Just in case (+1 binding) from my side.
> > >>> > >
> > >>> > > J.
> > >>> > >
> > >>> > > On Wed, Oct 30, 2019 at 3:36 PM Tomasz Urbaszek <
> > >>> > tomasz.urbas...@polidea.com>
> > >>> > > wrote:
> > >>> > >
> > >>> > >> Hi all,
> > >>> > >>
> > >>> > >> I have opened a draft PR with tests run by pytest:
> > >>> > >> https://github.com/apache/airflow/pull/6472
> > >>> > >>
> > >>> > >> Still, 13 tests are failing. It has increased since friday
> where I
> > >>> have
> > >>> > >> only two failing (the new ones are cassandara and hive related).
> > >>> > >> I share this code to get some inspiration and suggestions how
> can
> > we
> > >>> > >> approach this subject. Any help is appreciated!
> > >>> > >>
> > >>> > >> Seeing a number of likes in this thread, should we proceed with
> > >>> official
> > >>> > >> vote for AIP-27
> > >>> > >> <
> > >>> > >>
> > >>> >
> > >>>
> >
> https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-27+Migrate+to+pytest
> > >>> > >>>
> > >>> > >> ?
> > >>> > >>
> > >>> > >> Best wishes,
> > >>> > >> Tomek
> > >>> > >>
> > >>> > >> On Wed, Oct 16, 2019 at 6:26 PM Dan Davydov
> > >>> > <ddavy...@twitter.com.invalid>
> > >>> > >> wrote:
> > >>> > >>
> > >>> > >>> +1
> > >>> > >>>
> > >>> > >>> On Wed, Oct 16, 2019 at 12:01 PM Christian Lellmann
> > >>> > >>> <christian.lellm...@googlemail.com.invalid> wrote:
> > >>> > >>>
> > >>> > >>>> +1 from my side too.
> > >>> > >>>>
> > >>> > >>>> Regards,
> > >>> > >>>>
> > >>> > >>>> Chris
> > >>> > >>>>
> > >>> > >>>> Driesprong, Fokko <fo...@driesprong.frl> schrieb am Mi., 16.
> > Okt.
> > >>> > >> 2019,
> > >>> > >>>> 17:01:
> > >>> > >>>>
> > >>> > >>>>> +1
> > >>> > >>>>>
> > >>> > >>>>> Op ma 14 okt. 2019 om 16:50 schreef Felix Uellendall
> > >>> > >>>>> <felue...@pm.me.invalid
> > >>> > >>>>>> :
> > >>> > >>>>>
> > >>> > >>>>>> +1, successfully using pytest for airflow plugins for
> almost 2
> > >>> > >> years
> > >>> > >>>> now.
> > >>> > >>>>>>
> > >>> > >>>>>> Felix
> > >>> > >>>>>>
> > >>> > >>>>>> Sent from ProtonMail Mobile
> > >>> > >>>>>>
> > >>> > >>>>>> On Mon, Oct 14, 2019 at 16:39, Daniel Imberman <
> > >>> > >>>>>> dimberman.opensou...@gmail.com> wrote:
> > >>> > >>>>>>
> > >>> > >>>>>>> Huge +1 from me on this one!
> > >>> > >>>>>>>
> > >>> > >>>>>>> On Mon, Oct 14, 2019 at 10:46 AM Bas Harenslak <
> > >>> > >>>>>>> basharens...@godatadriven.com> wrote:
> > >>> > >>>>>>>
> > >>> > >>>>>>>> Big +1 for pytest
> > >>> > >>>>>>>>
> > >>> > >>>>>>>> Bas
> > >>> > >>>>>>>>
> > >>> > >>>>>>>>> On 14 Oct 2019, at 15:29, Jarek Potiuk <
> > >>> > >>> jarek.pot...@polidea.com>
> > >>> > >>>>>> wrote:
> > >>> > >>>>>>>>>
> > >>> > >>>>>>>>> Fantastic! Pytest is sooo much better than nosetests!
> > >>> > >>>>>>>>>
> > >>> > >>>>>>>>> On Mon, Oct 14, 2019 at 1:44 PM Ash Berlin-Taylor <
> > >>> > >>> a...@apache.org
> > >>> > >>>>>
> > >>> > >>>>>>>> wrote:
> > >>> > >>>>>>>>>
> > >>> > >>>>>>>>>> Awesome, thanks!
> > >>> > >>>>>>>>>>
> > >>> > >>>>>>>>>> I tried this at the start of the year but we were a few
> > 100
> > >>> > >>>> failing
> > >>> > >>>>>>>> tests
> > >>> > >>>>>>>>>> away.
> > >>> > >>>>>>>>>>
> > >>> > >>>>>>>>>> -ash
> > >>> > >>>>>>>>>>
> > >>> > >>>>>>>>>>> On 14 Oct 2019, at 11:44, Tomasz Urbaszek <
> > >>> > >>>>>> tomasz.urbas...@polidea.com
> > >>> > >>>>>>>>>
> > >>> > >>>>>>>>>> wrote:
> > >>> > >>>>>>>>>>>
> > >>> > >>>>>>>>>>> Hi all,
> > >>> > >>>>>>>>>>>
> > >>> > >>>>>>>>>>> I've just created AIP-27 Migrate to pytest
> > >>> > >>>>>>>>>>> <
> > >>> > >>>>>>>>>>
> > >>> > >>>>>>>>
> > >>> > >>>>>>
> > >>> > >>>>>
> > >>> > >>>>
> > >>> > >>>
> > >>> > >>
> > >>> >
> > >>>
> >
> https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-27+Migrate+to+pytest
> > >>> > >>>>>>>>>>> .
> > >>> > >>>>>>>>>>> I think this proposal will improve our test suite
> > especially
> > >>> > >>>> that
> > >>> > >>>>> it
> > >>> > >>>>>>>>>> seems
> > >>> > >>>>>>>>>>> that we only need to fix 16 tests to obtain green CI
> > build.
> > >>> > >>>>>>>>>>>
> > >>> > >>>>>>>>>>> Your considerations and feedback are highly welcomed!
> > >>> > >>>>>>>>>>>
> > >>> > >>>>>>>>>>> Bests,
> > >>> > >>>>>>>>>>> Tomek
> > >>> > >>>>>>>>>>
> > >>> > >>>>>>>>>>
> > >>> > >>>>>>>>>
> > >>> > >>>>>>>>> --
> > >>> > >>>>>>>>>
> > >>> > >>>>>>>>> Jarek Potiuk
> > >>> > >>>>>>>>> Polidea <https://www.polidea.com/> | Principal Software
> > >>> > >>> Engineer
> > >>> > >>>>>>>>>
> > >>> > >>>>>>>>> M: +48 660 796 129 <+48660796129>
> > >>> > >>>>>>>>> [image: Polidea] <https://www.polidea.com/>
> > >>> > >>>>>>>>
> > >>> > >>>>>>>>
> > >>> > >>>>>
> > >>> > >>>>
> > >>> > >>>
> > >>> > >>
> > >>> > >>
> > >>> > >> --
> > >>> > >>
> > >>> > >> Tomasz Urbaszek
> > >>> > >> Polidea <https://www.polidea.com/> | Junior Software Engineer
> > >>> > >>
> > >>> > >> M: +48 505 628 493 <+48505628493>
> > >>> > >> E: tomasz.urbas...@polidea.com <tomasz.urbasz...@polidea.com>
> > >>> > >>
> > >>> > >> Unique Tech
> > >>> > >> Check out our projects! <https://www.polidea.com/our-work>
> > >>> > >>
> > >>> > >
> > >>> > >
> > >>> > > --
> > >>> > >
> > >>> > > Jarek Potiuk
> > >>> > > Polidea <https://www.polidea.com/> | Principal Software Engineer
> > >>> > >
> > >>> > > M: +48 660 796 129 <+48660796129>
> > >>> > > [image: Polidea] <https://www.polidea.com/>
> > >>> >
> > >>> >
> > >>>
> > >>
>
>
>
> --
>
> Chao-Han Tsai
>


-- 

Tomasz Urbaszek
Polidea <https://www.polidea.com/> | Junior Software Engineer

M: +48 505 628 493 <+48505628493>
E: tomasz.urbas...@polidea.com <tomasz.urbasz...@polidea.com>

Unique Tech
Check out our projects! <https://www.polidea.com/our-work>

Reply via email to