<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Brad,<br>
<br>
The current test flow, when I tried yesterday, doesn't do well when
the current repo relies on some other chunk of the code base to
succeed.<br>
<br>
For example:<br>
DBus changes an established item from bool to enum<br>
Networkd uses the new enum type.<br>
<br>
Git clone phosphor-networkd, run test.<br>
Docker creates a new machine, populates the new machine, fetches the
code, from the upstream (which won't have the DBus), wait 20 or more
minutes, witness a failure.<br>
<br>
It would be great to use my current devtooled state, and get the
test suite run with my current development state.<br>
The phosphor-network test suite probably runs in under 1 minute.<br>
<br>
I should be able to tweak code, run tests, see failure readily,
tweak code, rinse repeat.<br>
I don't need the same level of verification that the QA team does.
Destroying the machine, and rebuilding it doesn't provide value.<br>
If tests were quick to run there might be more incentive to creating
more tests.<br>
As it stands, it is too onerous to bother.<br>
<br>
<div class="moz-cite-prefix">On 2/14/20 8:33 AM, Brad Bishop wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1F7B75A9-56F2-4B90-B799-6F541804F8CE@fuzziesquirrel.com">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On Feb 14, 2020, at 10:24 AM, Johnathan Mantey <a class="moz-txt-link-rfc2396E" href="mailto:johnathanx.mantey@intel.com"><johnathanx.mantey@intel.com></a> wrote:
Kurt,
I would like to see a more developer friendly unit test framework.
I have had only a couple of occasions where I needed to run the test suite.
My most recent attempt was not successful because my test repo was out of sync with the remainder of the OBMC infrastructure.
I would like to see:
• A way to test my changes within the framework of more than one repo.
• A less heavy handed,
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
I assume the heavy-handed part is the need for docker?</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<font color="#1F497D"><font face="Century Gothic">Johnathan Mantey<br>
<small>Senior Software Engineer</small><br>
<big><font color="#555555"><small><b>azad te</b><b>chnology
partners</b></small><br>
<small><font color="#1F497D"><small>Contributing to
Technology Innovation since 1992</small></font><small><br>
<font color="#1F497D">Phone: (503) 712-6764<br>
Email: <a href="mailto:johnathanx.mantey@intel.com">johnathanx.mantey@intel.com</a></font></small><br>
<br>
</small></font></big></font></font> </div>
</body>
</html>