<div dir="ltr">Perfect that's exactly what I was missing. Thank you! </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 9:54 AM, Ned Batchelder <span dir="ltr"><<a href="mailto:ned@nedbatchelder.com" target="_blank">ned@nedbatchelder.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
On 7/2/14 6:10 PM, Drew Michel wrote:<br>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm just starting to write unit tests for my project and
I'm very excited.</div>
<div><br>
</div>
<div>When I use vanilla nose with --cover-inclusive I'm able to
see the parts of my code I haven't written unit tests for,
i.e. <a href="http://pastebin.com/KSqje8qN" target="_blank">http://pastebin.com/KSqje8qN</a></div>
<div><br>
</div>
<div>When I use coverage + tox, I'm unable to find a combination
that works together. Is there anyway to get this behavior? <br>
</div>
<div><br>
</div>
<div>Here is my config <a href="http://pastebin.com/9zVahiJE" target="_blank">http://pastebin.com/9zVahiJE</a></div>
<div><br>
</div>
</div>
</blockquote>
<br></div></div>
Looks like you are already using coverage to run the tests, which is
good. In this case, you don't need to use the nose --with-coverage
flags at all. You want the coverage.py --source flag, which tells
coverage where the root of your source tree is, and lets it find
files that are completely uncovered.<br>
<br>
--Ned.<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
Thank you,</div>
<div><br>
</div>
<div>Drew</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
testing-in-python mailing list
<a href="mailto:testing-in-python@lists.idyll.org" target="_blank">testing-in-python@lists.idyll.org</a>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
<br></blockquote></div><br></div>