[TIP] data files for testing
pierre-yves.david at logilab.fr
Tue Dec 20 03:05:37 PST 2011
On Tue, Dec 20, 2011 at 10:36:55AM +0000, Andrea Crotti wrote:
> On 12/19/2011 09:55 AM, Pierre-Yves David wrote:
> >Requiring a package to be installed to even developpe on it **is BAD**. Nothing
> >more that build phase should be necessary. And pure python package does not
> >need to be built.
> I agree in general, but it's also true that if you use virtualenv
> you still need to run
> Also supposing that your testing requires for example mock or some
> other external
> libraries than you can't really test if you don't build something, right?
Installing dependency is always necessary. Installing them a virtual env is a
good solution if a system wide install don't make sense isn't possible.
I don't feel develop is the right answer to this "install dependancy" usecase
however. The way develop work is more a clumsy work around the fact that egg
break import logic of python.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the testing-in-python