You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currenlty, there are no tests for this part of code. They will be very helpful during development and support. But before any of them will be written, a few things have to be done:
as tests will simulate e.g. button clicks, we must have stable interface; without it, we'll spend too much time on adjusting tests to code
design fixes, e.g:
for now a lot of things are done inside MainWindow - injecting dependencies would make this class much more testable and cleaner
(connected to previous one) OptionsManager reads data from a file and parses loaded options, which makes it (and therefore possible GUI tests) dependent on filesystem (a bit different issue: what if user would like to load options from an url 😉? I hope we won't have in Wangscape a HTTP client)
Currenlty, there are no tests for this part of code. They will be very helpful during development and support. But before any of them will be written, a few things have to be done:
MainWindow
- injecting dependencies would make this class much more testable and cleanerOptionsManager
reads data from a file and parses loaded options, which makes it (and therefore possible GUI tests) dependent on filesystem (a bit different issue: what if user would like to load options from an url 😉? I hope we won't have in Wangscape a HTTP client)Qt documentation on GUI testing
The text was updated successfully, but these errors were encountered: