<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added a reviewer: KStars.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />TallFurryMan requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28292">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is a WIP on tests for the Focus module.<br />
We see that:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">There is no way to determine when the star detection procedure is done. The capture button should re-enable when everything is finished.</li>
<li class="remarkup-list-item">The CCD Simulator needs improvement for some detection mechanisms to work properly.</li>
<li class="remarkup-list-item">It is difficult to create fixtures with deterministic verifications, although better controlling the simulation time should help.</li>
<li class="remarkup-list-item">Syncing the mount to object coordinates is a good idea to speed up tests.</li>
<li class="remarkup-list-item">When not tracking, the CCD Simulator doesn't render trails, it could be a nice improvement.</li>
<li class="remarkup-list-item">Because kstars_ui_tests is becoming larger, it needs to be divided into multiple smaller tests for efficiency.</li>
<li class="remarkup-list-item">QTest, because failing a test means returning from the test function, is macro hell.</li>
<li class="remarkup-list-item">QComboBox is difficult to control programmatically because of its internal signal management.</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Run kstars_ui_tests.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>improve__concurrent_star_detector (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28292">https://phabricator.kde.org/D28292</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>Tests/kstars_ui/CMakeLists.txt<br />
Tests/kstars_ui/kstars_ui_tests.cpp<br />
Tests/kstars_ui/test_ekos_focus.cpp<br />
Tests/kstars_ui/test_ekos_focus.h<br />
Tests/kstars_ui/test_ekos_simulator.h</div></div></div><br /><div><strong>To: </strong>TallFurryMan, KStars<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>