[TIP] Running functional tests frequently without installing frequently

Nicolas Chauvat nicolas.chauvat at logilab.fr
Fri Nov 12 12:43:24 PST 2010


Hi,

On Fri, Nov 12, 2010 at 05:45:27PM +0100, Geoff Bache wrote:
> the time. But it feels like rather a hack. Other strategies seem to be
> 
> - do everything possible to make programs always runnable directly
> from the source tree
> 
> How have other people addressed this issue?

At Logilab we have been making sure for ten years that you can import
the code and run the test just by setting your PYTHONPATH.

See pylint source for an example.

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  



More information about the testing-in-python mailing list