wkaisertexas / ScreenTimeLapse

Take color-accurate timelapses of your screens and cameras on MacOS
https://apps.apple.com/us/app/timelapze/id6473860445
763 stars 24 forks source link

feature: test + implement continuous integration on requests #5

Closed wkaisertexas closed 1 day ago

wkaisertexas commented 11 months ago

MacOS applications are inherently harder to test with CI because everyone loves a walled garden. However, GitHub has support for MacOS runners. Which is something which will be used.

General tests can use the XCTest framework which should test peripheral connections.

However, user interface tests can be written through XCQuery which is basically like a query selector. Very weird and something that I will have to become familiar.

Starting this sooner rather than later is definitely the mood.

wkaisertexas commented 11 months ago

XCQuery is not working as intended I think because it is a menu bar application. I might have to create an alternate configuration for testing so that I can use Selenium IDE-like automated recording features.

wkaisertexas commented 11 months ago

XCQuery I tried to make this work by extracting out all the buttons to a standard window

wkaisertexas commented 11 months ago

Probably not going to do this

wkaisertexas commented 10 months ago

XCQuery sucks...

wkaisertexas commented 9 months ago

I am doing a little bit of tests on new features I am adding. Probably going to build the test suite up from there so it works correctly...