<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Folks. This is now integrated at GitHub.<br>
<br>
Cheers,<br>
<br>
On 8/8/2024 10:39 AM, Jon Raiford via Cuis-dev wrote:
<blockquote
cite="mid:SA1PR17MB53500CD163531FDE99574679BEB92@SA1PR17MB5350.namprd17.prod.outlook.com"
type="cite">
<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;
mso-ligatures:none;}
span.gmailsignatureprefix
{mso-style-name:gmailsignatureprefix;}
span.EmailStyle25
{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>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt;">Hi Hernán,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 11pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt;">I can
confirm that this patch works great for me. Thank you again.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt;">(Fwiw, I
meant UnhandledError before, not UnhandledException – in
SUnitNameResolver class>>errorObject)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt;">Jon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt;"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none;
border-color: rgb(181, 196, 223) -moz-use-text-color
-moz-use-text-color; 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 class="moz-txt-link-rfc2396E" href="mailto:cuis-dev-bounces@lists.cuis.st"><cuis-dev-bounces@lists.cuis.st></a> on behalf of
Jon Raiford via Cuis-dev
<a class="moz-txt-link-rfc2396E" href="mailto:cuis-dev@lists.cuis.st"><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 class="moz-txt-link-rfc2396E" href="mailto:hernan.wilkinson@10pines.com"><hernan.wilkinson@10pines.com></a>, Discussion of
Cuis Smalltalk <a class="moz-txt-link-rfc2396E" href="mailto:cuis-dev@lists.cuis.st"><cuis-dev@lists.cuis.st></a><br>
<b>Cc: </b>Jon Raiford <a class="moz-txt-link-rfc2396E" href="mailto:raiford@labware.com"><raiford@labware.com></a>,
Juan Vuletich <a class="moz-txt-link-rfc2396E" href="mailto:juan@cuis.st"><juan@cuis.st></a><br>
<b>Subject: </b>Re: [Cuis-dev] Unavailable SUnit
TestResource stops test runner<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">Hi
Hernán,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 11pt;"> </span><o:p></o:p></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><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 11pt;"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 11pt;">Jon</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 11pt;"> </span><o:p></o:p></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border-right: medium none;
border-width: 1pt medium medium; border-style:
solid none none; border-color: rgb(181, 196,
223) -moz-use-text-color -moz-use-text-color;
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 class="moz-txt-link-rfc2396E" href="mailto:hernan.wilkinson@10pines.com"><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 class="moz-txt-link-rfc2396E" href="mailto:cuis-dev@lists.cuis.st"><cuis-dev@lists.cuis.st></a><br>
<b>Cc: </b>Juan Vuletich
<a class="moz-txt-link-rfc2396E" href="mailto:juan@cuis.st"><juan@cuis.st></a>, Jon Raiford
<a class="moz-txt-link-rfc2396E" href="mailto:raiford@labware.com"><raiford@labware.com></a><br>
<b>Subject: </b>Re: [Cuis-dev] Unavailable
SUnit TestResource stops test runner</span><o:p></o:p></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
moz-do-not-send="true"
href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>>
wrote:<o:p></o:p></p>
</div>
<blockquote style="border-width: medium medium
medium 1pt; border-style: none none none
solid; border-color: -moz-use-text-color
-moz-use-text-color -moz-use-text-color
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: <o:p></o:p></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,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks,<br>
jon<o:p></o:p></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,<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Juan Vuletich<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://cuis.st" target="_blank">cuis.st</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:Cuis-dev@lists.cuis.st"
target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a moz-do-not-send="true"
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: 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><o:p></o:p></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><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><strong><span
style="font-size: 10pt;
font-family:
"tahoma",sans-serif;
font-weight: normal;">Twitter:
@HernanWilkinson</span></strong><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><strong><span
style="font-size: 10pt;
font-family:
"tahoma",sans-serif;
font-weight: normal;">site: <a
moz-do-not-send="true"
href="http://www.10pines.com/"
target="_blank"><span
style="color: rgb(17,
65, 112);">http://www.10Pines.com</span></a></span></strong><o:p></o:p></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><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>