I'm trying to test this GitHub repository of mine using Travis CI. The problem I'm having is that what it does is use AppleScript's keystroke
function to simulate user input. I can't figure out how to test this.
The repository is a Swift 4 library managed by the Swift Package Manager, in case that helps.
I've tried, on my computer, using a combination of readLine()
and my typing method to get the output back as input, and I'm out of ideas.
Any help would be greatly appreciated.