<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.gmailsignatureprefix
        {mso-style-name:gmail_signature_prefix;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Hernán,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you! I will give this a try. Also, good catch on the exception problem. I forgot that I worked around this by changing the reference to UnhandledException back to Error, which is how other SUnit implementations
 seem to work. I agree that UnhandledException is more appropriate so it is nice that you took care of that.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Jon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">Hernán Wilkinson <hernan.wilkinson@10pines.com><br>
<b>Date: </b>Wednesday, August 7, 2024 at 7:51</span><span style="font-family:"Arial",sans-serif;color:black"> </span><span style="color:black">PM<br>
<b>To: </b>Discussion of Cuis Smalltalk <cuis-dev@lists.cuis.st><br>
<b>Cc: </b>Juan Vuletich <juan@cuis.st>, Jon Raiford <raiford@labware.com><br>
<b>Subject: </b>Re: [Cuis-dev] Unavailable SUnit TestResource stops test runner<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<div>
<p class="MsoNormal"> I agree, it is better to do that.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> Attached is a change set that implements that behavior.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> BTW, there was an error when a resource was not available because it was trying to debug an UnhandledError without an unhandled exception. I fixed that by making the not availability of a resource to fail and not to error.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> I'll send another change set soon because #debugAsFailureIfCanNot: does not make sense anymore because quick methods can be debugged.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> Cheers!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> Hernan.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Aug 7, 2024 at 4:39<span style="font-family:"Arial",sans-serif"> </span>PM Juan Vuletich via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">On 8/6/2024 11:43 AM, Jon Raiford via Cuis-dev wrote: <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have a question for the SUnit experts out there. Have a look at this simple test case that demonstrates an unavailable test resource. I don’t understand why an unavailable test
 resource causes the test runner itself to stop. Wouldn’t it be more correct to flag all test cases that rely on it as failed instead? Ideally we should be able to run automated tests without having to worry about this stopping the testing framework,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks,<br>
jon<o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal"><br>
I agree. I think an unavailable test resource is quite like a test failure, or an error (DNU for instance). These don't stop the test run, and they are counted for the suite result.<br>
<br>
Does anybody have a good reason to open a debugger?<br>
<br>
Thanks,<br>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Juan Vuletich<o:p></o:p></pre>
<pre><a href="http://cuis.st" target="_blank">cuis.st</a><o:p></o:p></pre>
<pre><a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a><o:p></o:p></pre>
<pre><a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a><o:p></o:p></pre>
<pre><a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a><o:p></o:p></pre>
<pre><a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a><o:p></o:p></pre>
<pre><a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a><o:p></o:p></pre>
<pre><a href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a><o:p></o:p></pre>
</div>
<p class="MsoNormal">-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span class="gmailsignatureprefix">-- </span><o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:"tahoma",sans-serif">Hernán Wilkinson</span></strong><span style="font-size:10.0pt;font-family:"tahoma",sans-serif"><br>
<strong><span style="font-family:"tahoma",sans-serif;font-weight:normal">Agile Software Development, Teaching & Coaching</span></strong></span><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:"tahoma",sans-serif;font-weight:normal">Phone: +54-011</span></strong><span style="font-size:10.0pt;font-family:"tahoma",sans-serif">-4893-2057</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:"tahoma",sans-serif;font-weight:normal">Twitter: @HernanWilkinson</span></strong><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:"tahoma",sans-serif;font-weight:normal">site: <a href="http://www.10pines.com/" target="_blank"><span style="color:#114170">http://www.10Pines.com</span></a></span></strong><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"tahoma",sans-serif">Address: Alem 896</span><span style="font-size:9.5pt">, Floor 6, Buenos Aires, Argentina<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>