Expand description
AppleScript driver seam.
Production: OsascriptDriver spawns /usr/bin/osascript -e <script>.
Tests: RecordingAppleScript captures every script string and pops queued
responses, so unit tests can assert exactly which AppleScript was emitted
without ever spawning osascript.
Structs§
- Osascript
Driver - Production driver: shells out to
/usr/bin/osascript -e <script>. - Recording
Apple Script - Test driver: records every script it’s asked to run without spawning
osascript. Tests assert onscripts()and seedpush_response()to control return values.