[TIP] Installation issue with coverage and setuptools

Christoph Buchner bilderbuchi at phononoia.at
Wed Jan 15 06:35:35 PST 2014


Thank you, I have it on my radar. I agree that automation is absolutely crucial!
For now, though, my project's humming along nicely on travis-ci.org, everything works, and the project is quite small.
I will definitely keep it in mind if I start supporting more than py2.7!

best,
Christoph

Marius Gedminas wrote on 15.01.2014 15:08:

> On Wed, Jan 15, 2014 at 02:32:35PM +0100, Christoph Buchner wrote:
>> Thank you! It was not clear to me that setup.py test does not do all
>> installation steps, I thought this was just a local (but full)
>> installation of tests requirements.
> 
> Let me once again recommend tox, which automates
> 
>  - building a source distribution
>  - installing it into a local virtualenv (so your system Python stays
>    clean from your dependencies)
>  - running the tests against that installation
> 
> In addition tox can run your tests for multiple Python versions (in
> parallel, if you use the 'detox' runner).
> 
> 'tox' is the best thing that has happened to Python testing in the 21st
> century.
> 
> Marius Gedminas
> -- 
> At one job, for a short time my desktop HP (running HPUX) was being used as a
> print server. I soon found out that having something heavy in front of the plug
> was a good idea, after kicking it out of the outlet a couple of times. I used
> my old TRS-80 4P, doubtless the slowest computer ever to perform a critical
> function at that company.
>        -- David Thornley
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
> 




More information about the testing-in-python mailing list