<div>Hi,<br></div><div><br></div><div>For my BeRail project/thesis I would like to create some unit tests.<br></div><div>I already managed to get the QtTest framework to work in SFOS but it's launched from the application main. If I use the macro to create a test main:<br></div><pre class="cpp prettyprint prettyprinted" style=""><span class="pln">QTEST_MAIN</span><span class="pun">(</span><span class="typ">TestClass</span><span class="pun">)</span><br></pre><div>then I get the compile error: multiple main() defined.<br></div><div><br></div><div>I would like to move the unit tests to a separate console application which I can run in the build engine command line. I have absolutely no idea where to start with this.<br></div><div>I look on the Internet already, but I couldn't find not much interesting about this topic...<br></div><div><br></div><div>Can someone help me out with this one?<br></div><div><br></div><div>Kind regards,<br></div><div>Dylan Van Assche<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton">Sent with <a target="_blank" href="https://protonmail.com">ProtonMail</a> Secure Email.<br></div></div><div><br></div>