<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Joe, since you have specified "--source=.", coverage will search
your tree for importable Python files, and report on them even if
they are never imported. So you are already doing the right
thing. I'm not sure why it wouldn't show you that file. Are you
sure you are running the commands you showed?</p>
<p>--Ned.<br>
</p>
<div class="moz-cite-prefix">On 1/4/19 11:42 AM, Bruno Oliveira
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+RQFfeYAuVNXUocgNYSKcy2r9__eqOJ6zx=KovqVv1wTZHHhw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Joe,<br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, Dec 21, 2018 at 5:06 PM DZIOBEK, JOE
<<a href="mailto:jd5948@att.com" moz-do-not-send="true">jd5948@att.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_-20315989768995622WordSection1">
<p class="MsoNormal">Is there a way to have this file
included in the report?<br>
</p>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>You are not seeing coverage information for scriptB.py
not because it does not have an associated test file, but
because it was never imported during the run (I'm
assuming). </div>
<div><br>
</div>
<div>One way to have it to appear on the report is to import
scriptB on your __init__.py file, this way its coverage will
be tracked.</div>
<div><br>
</div>
<div>Hope this helps,</div>
<div>Bruno</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>