Write a recipe as a check
mobster test add writes a recipe as a normal check into .mobster/checks, so you edit it and commit it like one you wrote:
--bundlenames your app.--set KEY=VALUEsets a param of the recipe, as many times as it has.- A param you leave out drops the line that uses it, so the check never holds an empty value.
- Mobster never replaces a file that exists:
--forcereplaces it. - A recipe adds no runner.
mobster test,mobster verify --checkandmobster ci runrun the file as any other.
A TestFlight build on your iPhone
Test the build your testers have, not only the one Xcode made:mobster testflight installopens your app in the TestFlight app on the phone and taps Install or Update (App Store Connect).--build 45picks a build, and the report names it.--testflightlets your checks drive that build as your own. Mobster never clears its data on a phone.mobster asc feedback --app com.example.yourapp --crashesthen lists what your testers hit on the same build.
MOBSTER_RUNNER_TESTFLIGHT (CI), and mobster test nightly on --device all --testflight com.example.yourapp checks it every night (Overnight runs).
A paywall and its prices
Mobster checks everything up to the purchase and never buys: on a simulator Smart refuses every purchase, and on an iPhone every send, buy, post or delete. So a paywall check asserts the plans and prices on screen:.mobster/checks/paywall.yaml
- A simulator launched by
simctl, as Mobster launches it, doesn’t load the StoreKit configuration file Xcode’s scheme names. Have the app read a launch argument (here-StoreKitProducts local) and show products from your.storekitfile or a fixed list, so prices are the same on every run. - On your iPhone, a TestFlight or development build loads products from the App Store sandbox, so the same check proves the real prices:
mobster test .mobster/checks/paywall.yaml --device "Test iPhone". - Tagged
screenshot, the same check makes the paywall’s App Store screenshot in every size and language (App Store screenshots).
The screen a push opens
A push is delivered by Apple, and Mobster checks what your app does with it: the screen its link opens. Give the payload’s deep link to a check:.mobster/checks/push-order-shipped.yaml
push.apns is the JSON your server sends, with "Simulator Target Bundle" set to your bundle ID. On your iPhone, send a test push from your provider’s console, then run the check above with --device.