<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added reviewers: KStars, mutlaqja.<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/D27678">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This differential restructures test execution to allow use of regular test classes for UI tests of KStars.</p>

<p>A few tests are reworked with additional features:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Geographical location is set to Greenwich and verified against city database</li>
<li class="remarkup-list-item">Date and time of simulation is set to 2020/01/01 11:00pm and verified</li>
<li class="remarkup-list-item">Clock is set to not run and verified</li>
<li class="remarkup-list-item">Basic test and warn test are removed</li>
<li class="remarkup-list-item">Fixture data is created for Messier objects higher than the horizon at current simulation time</li>
<li class="remarkup-list-item">Slew test is created to point at each fixture in sequence using the Simulators profile</li>
<li class="remarkup-list-item">Various dialog appearing for questions are managed by tests</li>
</ul>

<p>Tests reveal that:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">There is no definitive UI feedback to end the connection procedure of devices</li>
<li class="remarkup-list-item">There is limited homogeneity on dialogs presented to the end-user (QDialog, KMessageBox, KNotification)</li>
<li class="remarkup-list-item">Ekos unconditionally resumes the simulation clock on startup, and resets its date and time to current system time</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Execute kstars_ui_test, either from the command line or from the QtCreator project run or from the QtCreator test run (check timeout in options)<br />
The test can be executed in a virtual framebuffer X server using "xfvbrun".</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>improve__test_simulator_profile (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27678">https://phabricator.kde.org/D27678</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/kstars_ui_tests.h<br />
Tests/kstars_ui/test_ekos.cpp<br />
Tests/kstars_ui/test_ekos.h<br />
Tests/kstars_ui/test_ekos_simulator.cpp<br />
Tests/kstars_ui/test_ekos_simulator.h</div></div></div><br /><div><strong>To: </strong>TallFurryMan, KStars, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>