<HTML><BODY><p style="margin-top: 0px;" dir="ltr">Will give it a try!</p>
<div id="mail-app-auto-default-signature">
<p dir="ltr">--<br> Thanks<br> Brian</p>
</div>Sunday, 05 July 2020, 11:45PM -07:00 from Christof Thalhofer <a href="mailto:chrisml@deganius.de">chrisml@deganius.de</a>:<br><br><blockquote id="mail-app-auto-quote" cite="15940179180000018256" style="border-left:1px solid #0878BD; margin:0px 0px 0px 10px; padding:0px 0px 0px 10px;">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div >
<base target="_self" href="https://e-aj.my.com/" />
<div id="style_15940179180000018256_BODY">Hello Brian,<br>
<br>
Am 30.06.20 um 01:38 schrieb Brian G:<br>
<br>
> Assert.Exported("namelist",......... ) ' list of expected exported<br>
> modules and classes fails if don't match <br>
<br>
> Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....)<br>
> ' test exported mods or classes that the interface is correct ie<br>
> public functions and variables exposed, returns<br>
<br>
I find these things useful. If you are interested in enhancing gb.test<br>
then it should be done like this:<br>
<br>
To ensure it's stability gb.test tests itself so at first you should<br>
write tests for gb.test that require the new methods:<br>
<br>
Assert.Interface("ExistingClass", "ExistingSymbol")<br>
<br>
There should also be tests that test the right behavior on failure, like<br>
this:<br>
<br>
Test.IntendedFailure<br>
Assert.Interface("NotExistingClass", "AnySymbol")<br>
<br>
Test.IntendedFailure<br>
Assert.Interface("ExistingClass", "NotExportedSymbol")<br>
<br>
These tests must be part of the testsuite "All good" in gb.test.<br>
<br>
After that write the methods in 'Assert' that meet the requirements,<br>
they should be well documented.<br>
<br>
--------------------------------------------------------------------<br>
<br>
To bring your work into Gambas you must fork Gambas on Gitlab, commit<br>
your changes and then create a merge request.<br>
<br>
Alles Gute<br>
<br>
Christof Thalhofer<br>
<br>
-- <br>
Dies ist keine Signatur<br>
<br>
</div>
<div><br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" target="_blank" >http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
<br>
</div>
<base target="_self" href="https://e-aj.my.com/" />
</div>
</div>
</blockquote></BODY></HTML>