<div dir="ltr">Cool! Thank you for taking the time to try it :-)<div><br></div><div>Juan is going to change the UnhandledError stuff, we talked about it today.</div><div><br></div><div>Hernan.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2024 at 10:39 AM Jon Raiford <<a href="mailto:raiford@labware.com">raiford@labware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-6485402138769813901">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_-6485402138769813901WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Hi Hernán,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I can confirm that this patch works great for me. Thank you again.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">(Fwiw, I meant UnhandledError before, not UnhandledException – in SUnitNameResolver class>>errorObject)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Jon<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div id="m_-6485402138769813901mail-editor-reference-message-container">
<div>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="color:black">From:
</span></b><span style="color:black">Cuis-dev <<a href="mailto:cuis-dev-bounces@lists.cuis.st" target="_blank">cuis-dev-bounces@lists.cuis.st</a>> on behalf of Jon Raiford via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>><br>
<b>Date: </b>Thursday, August 8, 2024 at 9:26</span><span style="font-family:Arial,sans-serif;color:black"> </span><span style="color:black">AM<br>
<b>To: </b>Hernán Wilkinson <<a href="mailto:hernan.wilkinson@10pines.com" target="_blank">hernan.wilkinson@10pines.com</a>>, Discussion of Cuis Smalltalk <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>><br>
<b>Cc: </b>Jon Raiford <<a href="mailto:raiford@labware.com" target="_blank">raiford@labware.com</a>>, Juan Vuletich <<a href="mailto:juan@cuis.st" target="_blank">juan@cuis.st</a>><br>
<b>Subject: </b>Re: [Cuis-dev] Unavailable SUnit TestResource stops test runner<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Hi Hernán,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt">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.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt">Jon</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt"> </span><u></u><u></u></p>
<div id="m_-6485402138769813901mail-editor-reference-message-container">
<div>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="color:black">From:
</span></b><span style="color:black">Hernán Wilkinson <<a href="mailto:hernan.wilkinson@10pines.com" target="_blank">hernan.wilkinson@10pines.com</a>><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 <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>><br>
<b>Cc: </b>Juan Vuletich <<a href="mailto:juan@cuis.st" target="_blank">juan@cuis.st</a>>, Jon Raiford <<a href="mailto:raiford@labware.com" target="_blank">raiford@labware.com</a>><br>
<b>Subject: </b>Re: [Cuis-dev] Unavailable SUnit TestResource stops test runner</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"> I agree, it is better to do that.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> Attached is a change set that implements that behavior.<u></u><u></u></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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> Cheers!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> Hernan.<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></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" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<p class="MsoNormal">On 8/6/2024 11:43 AM, Jon Raiford via Cuis-dev wrote: <u></u><u></u></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<p class="MsoNormal">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,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<br>
jon<u></u><u></u></p>
</div>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12pt"><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,<u></u><u></u></p>
<pre>-- <u></u><u></u></pre>
<pre>Juan Vuletich<u></u><u></u></pre>
<pre><a href="http://cuis.st" target="_blank">cuis.st</a><u></u><u></u></pre>
<pre><a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a><u></u><u></u></pre>
<pre><a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a><u></u><u></u></pre>
<pre><a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a><u></u><u></u></pre>
<pre><a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a><u></u><u></u></pre>
<pre><a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a><u></u><u></u></pre>
<pre><a href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a><u></u><u></u></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><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal"><span class="m_-6485402138769813901gmailsignatureprefix">-- </span><u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:tahoma,sans-serif">Hernán Wilkinson</span></strong><span style="font-size:10pt;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><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:tahoma,sans-serif;font-weight:normal">Phone: +54-011</span></strong><span style="font-size:10pt;font-family:tahoma,sans-serif">-4893-2057</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:tahoma,sans-serif;font-weight:normal">Twitter: @HernanWilkinson</span></strong><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:tahoma,sans-serif;font-weight:normal">site: <a href="http://www.10pines.com/" target="_blank"><span style="color:rgb(17,65,112)">http://www.10Pines.com</span></a></span></strong><u></u><u></u></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</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:small"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal"><span style="font-weight:bold">Hernán Wilkinson</span><br>Agile Software Development, Teaching & Coaching</span></font></span></span></strong></span></div><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div><div style="font-size:12.8px"><strong style="font-family:tahoma,sans-serif;font-size:xx-small"><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Twitter: @HernanWilkinson</span></font></span></span></strong></div><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank">http://www.10Pines.com</a></span></font></span></span></strong></span></div><div style="font-size:12.8px"><font face="tahoma, sans-serif"><span style="border-collapse:collapse">Address: Alem 896</span></font>, Floor 6, Buenos Aires, Argentina</div></div></div></div></div></div></div></div>