[Python-ideas] Official site-packages/test directory

Chris Barker chris.barker at noaa.gov
Fri Jan 19 17:50:35 EST 2018


On Fri, Jan 19, 2018 at 11:21 AM, Giampaolo Rodola' <g.rodola at gmail.com>
wrote:
>
> I personally include them in psutil distribution so that users can test
> the installation with "python -m psutil.test". I have even this documented
> as I think it's an added value.
>

or:

pytest --pyargs pkg_name

It Is really handy, and sometimes required to test the distribution /
installation itself.

So I do that most  of the time these days -- but it gets ugly if the tests
get really huge.

-CHB





>
>
>
> --
> Giampaolo - http://grodola.blogspot.com
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
>


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180119/95ecbedc/attachment.html>


More information about the Python-ideas mailing list