> On Apr 20, 2020, at 10:10 AM, Jonathan T. Looney <[email protected]> wrote:
> 
> On Sun, Apr 19, 2020 at 5:03 PM Enji Cooper <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> > On Apr 16, 2020, at 1:07 PM, Jonathan T. Looney <[email protected]> wrote:
> > 
> > Author: jtl
> > Date: Thu Apr 16 20:07:34 2020
> > New Revision: 360019
> > URL: https://svnweb.freebsd.org/changeset/base/360019 
> > <https://svnweb.freebsd.org/changeset/base/360019>
> > 
> > Log:
> >  Add a regression test for the changes in r359922 and r359923.
> > 
> >  Note that the Python code has been tested on both Python 2.7 and 3.7.
> > 
> >  Reviewed by: olivier
> >  MFC after:   2 weeks
> >  Sponsored by:        Netflix, Inc.
> 
>         Ugh… I can tell by this commit that I just need to add pytest support 
> to kyua >_>…
> 
> I assume you're suggesting that we support running Python code natively, 
> instead of from a shell script. If so, I think that's a great idea.
> 
> It looks like we're growing a number of Python scripts in the test suite, and 
> supporting them more natively is probably good for more than one reason.

        That was exactly my thinking. The reason why I picked pytest is that 
nose 1.x is abandoned, nose 2.x converges with pytest (and the page recommends 
pytest), and raw unittest requires a lot of complexity. Another plus of pytest 
is that it has an extensible plugin framework.
        It’s really unfortunate that we don’t have better package integration 
in buildworld. It would make building and installing tests a lot easier.
Cheers,
-Enji

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to