<div dir="ltr"><div>Lee, this was the reason of the criticism.<br></div><div><br></div><div></div><div>You said <i>"As I understand it, for final deployment, you should not have a Main module _and_ a library module"</i>.</div><div></div><div><br></div><div>This is wrong.<br></div><div><br></div><div></div><div>You said <i>"The Main module should be your library"</i>.</div><div><br></div><div>This is misleading, as it doesn't matter at all.<br></div><div></div><div><br></div><div>You said <i>"For testing, create a new project that uses the compiled library"</i>. <br></div><div><br></div><div>This is not the same as include unit test within the library. And even if the development ends, the test should not be removed as you might still want to maintain the library. Note that libraries can be run as normal executables, if they have start up method.<br></div><div><br></div><div><br></div><div>Jussi<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 12, 2018 at 3:56 PM, T Lee Davidson <span dir="ltr"><<a href="mailto:t.lee.davidson@gmail.com" target="_blank">t.lee.davidson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 06/11/2018 05:22 PM, Christof Thalhofer wrote:<br>
> Am 11.06.2018 um 22:44 schrieb Jussi Lahtinen:<br>
>>     I went by the documentation. If it is wrong, then the documentation<br>
>>     needs correction?<br>
>><br>
>>     You have said almost the same as I have. Which part, exactly, is<br>
>>     incorrect?<br>
>><br>
>><br>
>> There is no reason to remove the Main module ever. Ready product or not.<br>
> <br>
> Yes. And a methods of a lib can easily been tested from inside the same<br>
> project.<br>
<br>
</span>As I said could be done for development purposes.<br>
<span class=""><br>
> There is no reason to create an extra project to test the library.<br>
<br>
</span>Again, as I stated the testing could be done within the same project. But, how would one test that the compiled and installed<br>
library works with a different project?<br>
<br>
(And, BTW, I never said to remove the Main module.)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Lee<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</div></div></blockquote></div><br></div>