<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Programmatically, there's
coverage.coverage(data_file="/path/to/datafile"), and in the
configuration file, there's "[run] data_file=/path/to/datafile". Is
there another way you need to specify it?<br>
<br>
--Ned<br>
<br>
On 8/2/2011 10:18 AM, Alfredo Deza wrote:
<blockquote
cite="mid:CAK7CpVHNcJTaRemOWoZ6p0OrV29dpE4nGc3NZTrPfNtrTnXAkA@mail.gmail.com"
type="cite">I was trying to look for an option in `coverage.py`
that would accept a `.coverage` file as an input.
<div><br>
</div>
<div>Usually `.coverage` is placed from wherever the command was
run.</div>
<div><br>
</div>
<div>Is there such an option and I am just failing to find it? Or
is this something that could be accepted as</div>
<div>a feature request?</div>
<div><br>
</div>
<div>Probably something that makes coverage.py crawl back up in
directories until it finds a `.coverage` file </div>
<div>(a la git/hg) would make even more sense than an input file
flag.</div>
<div><br>
</div>
<div>My reasoning for this is because a lot of times I find myself
several directories deep into a project that has</div>
<div>run coverage before but I can't get the proper report since
there is no `.coverage` in the current directory.</div>
<div><br>
</div>
<div>Has anyone experienced something like this before? What are
your workarounds (if any) ?</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>-Alfredo</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
</blockquote>
</body>
</html>