<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Matt Harrison wrote:
<blockquote
 cite="mid:280b96790909041124y2319c93el42bfb691a0accaf4@mail.gmail.com"
 type="cite">
  <pre wrap="">On Fri, Sep 4, 2009 at 11:45 AM, Mark Seaborn<a class="moz-txt-link-rfc2396E" href="mailto:mrs@mythic-beasts.com">&lt;mrs@mythic-beasts.com&gt;</a> wrote:
snip, snip
  </pre>
  <blockquote type="cite">
    <pre wrap="">If there are multiple choices to be made, the multiplying out (to give
the Cartesian product) is done by the check runner, which is performing
a kind of inversion of control.

I'd be interested to hear if anyone has used this kind of technique in
Python before, or if anyone thinks it would help solve problems
they've encountered before.

    </pre>
  </blockquote>
  <pre wrap=""><!---->
Mark -

I read your blog post this sounds interesting.  In fact I gave a talk
about a related subject two years ago at pycon[0].  I covered
cyclomatic complexity, code coverage and how they relate.  The problem
is that Python currently only supports line coverage, which by itself
is not sufficient to support more advanced tools.

&lt;rant&gt;
When you take the people who care about testing, and take the subset
that care about coverage, and take the subset that care about
path/model checking, I think that you get a really small percentage of
developers.
  </pre>
</blockquote>
Count me in the (small) subset.&nbsp; I still intend to get this working.&nbsp;
Can someone come to work and do my real job so I have some time? :)<br>
<blockquote
 cite="mid:280b96790909041124y2319c93el42bfb691a0accaf4@mail.gmail.com"
 type="cite">
  <pre wrap="">Any tool which wants to increase the size of these smaller subsets of
programmers is going to have to be:

  * Very easy to use
  * Provide some utility

I need to market, work on pycoverage.el more (which is an even smaller
subset of the above that use emacs), because I think it lies along the
path of where you want to go.

I guess my point is that there are people who find this cool, so don't give up!
&lt;/rant&gt;

What I'd like is a way to tell which of the paths I've covered from
the basis paths. (from linear algebra, once you cover the basis paths,
other paths are just linear combinations of them).  (I even messed
around with the CPython eval loop trying to get more fine grained
tracing, but real life caught up with me and I moved on).

  </pre>
</blockquote>
I'm still confused by the term "linear combinations of paths". What
would a non-linear combination of them be?&nbsp; Why don't people just say,
"combinations of paths"?<br>
<blockquote
 cite="mid:280b96790909041124y2319c93el42bfb691a0accaf4@mail.gmail.com"
 type="cite">
  <pre wrap="">I'm interested in seeing where your project goes.  Keep us posted.

cheers,
-matt

0 - <a class="moz-txt-link-freetext" href="http://panela.blog-city.com/pycon_2008_managing_complexity_slides.htm">http://panela.blog-city.com/pycon_2008_managing_complexity_slides.htm</a>
  </pre>
</blockquote>
--Ned.<br>
<pre class="moz-signature" cols="72">-- 
Ned Batchelder, <a class="moz-txt-link-freetext" href="http://nedbatchelder.com">http://nedbatchelder.com</a>
</pre>
</body>
</html>