This differential makes UI tests independent on the local user settings by using the Qt Test Mode user. Basically it:
- Uses test mode to make sure unitary userdb tests use a blank user db.
- Uses test mode to make sure UI tests start from scratch, as the user folder is completely removed before testing.
- Provides 'kstarsui.rc' explicitely when initializing KStars, so that (at last!) toolbars and menus are visible.
Now anyone can safely run UI tests without the risk that one's carefully tuned Ekos configuration is lost.
This differential should also fix builds made with no INDI dependency installed.
This differential also reworks the kstars_ui_tests header to (briefly) explain how to create UI tests, and some of the reasons they are written as they are.