<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Hello:<br></div>
<div><br></div>
<div>I think pytest will take care of my needs but I have to get to exploring it.&nbsp; I don't need a specialized framework.&nbsp; pyunit would be fine.&nbsp; I need html output, and I am making sure I can find it in a tool before building it myself. <br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div id="sig22251109"><div class="signature">--<br></div>
<div class="signature">&nbsp; Matthew Harelick<br></div>
<div class="signature">&nbsp; mharelick@fastmail.fm<br></div>
<div class="signature"><br></div>
</div>
<div><br></div>
<div><br></div>
<div>On Wed, May 10, 2017, at 02:31 PM, Tim Ottinger wrote:<br></div>
<blockquote type="cite"><div dir="ltr">Rephrase: Why do you feel like you need a specialized framework instead of normal python unittest or the like?&nbsp;<br></div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Wed, May 10, 2017 at 1:30 PM Tim Ottinger &lt;<a href="mailto:tottinge@gmail.com">tottinge@gmail.com</a>&gt; wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div dir="ltr"><div defang_data-gmailquote="yes"><div dir="ltr">On Fri, May 5, 2017 at 8:44 AM Matthew Harelick &lt;<a href="mailto:mharelick@fastmail.fm">mharelick@fastmail.fm</a>&gt; wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;">&nbsp; I am sending inputs and validating messages that are received.&nbsp; I am creating the libraries that are connecting to message streams for the system&nbsp; under test.&nbsp; I need a test control and reporting framework hopefully written in python.<br></blockquote><div><br></div>
</div>
</div>
<div dir="ltr"><div defang_data-gmailquote="yes"><div>First off, I would always rather write just about anything in Python too.<br></div>
<div><div><br></div>
<div>So, a test would be something like:&nbsp;<br></div>
</div>
<div><br></div>
<div><div>1) Set context for a message (maybe db, file sys, etc?)<br></div>
<div>2) Send a message<br></div>
</div>
<div><div>3) Do a set of checks on the result<br></div>
<div>4) put the context back to normal<br></div>
<div><br></div>
<div>? <br></div>
<div><br></div>
<div>It seems like one would write a few of these tests in python using whatever library you have for the messaging, and then extract the common code from the tests. After four or five, you should have all the framework you need (if you're pretty diligent about refactoring). <br></div>
<div><br></div>
<div>I've done this for writing tests of stored procedures and microservices, though a lot of that testing is faster if done in the native app's micro-testing (unit test) framework. <br></div>
<div><br></div>
<div>Are these tests to run in the background (so performance isn't so important) or on the developer's station (in which case, you want ALL tests running in a handful of seconds)?&nbsp;<br></div>
</div>
</div>
</div>
<div dir="ltr"><div defang_data-gmailquote="yes"><div><br></div>
<div>Tim&nbsp;<br></div>
</div>
</div>
</blockquote></div>
</blockquote><div><br></div>
</body>
</html>