Skip to Content

What works today

What a rig can do today, to say plainly to whoever you write for.

Say these plainly to whoever you write for.

  • The Next.js and MyGo cores capture by a rig. Both live in pitafix-rigs. Next.js walks a project's routes by itself when it has no rig. MyGo has no walk without one, since only the rig says how the app's test build is made and what to tap in it, so its [app] needs build and run.
  • A MyGo rig can capture an iOS Simulator app. Build the app with MyGo 0.10.0 or later and its automation plugin, using a command such as go tool mygo build -platform ios/simulator -debug .. Set app.run to the resulting .app bundle inside the copy, for example ["dist/ios-simulator/Counter.app"]. It needs Xcode with an installed iOS Simulator runtime that supports iPhone 16.
  • A rig is read the same for every core, but each core reads what it supports. The rig's check is the same for all. A core refuses, in one sentence, a rig that asks for what it doesn't do, and its doctor's rig check says so before a walk. What each core reads is its own note: docs/api/nextjs.md and docs/api/mygo.md in pitafix-rigs.
  • Each core fills its own blanks and refuses the rest. Next.js fills {{copy}}, {{project}}, {{rig}} and a fixture's {{id.url}} and {{id.port}}. MyGo fills {{copy}}, {{project}}, {{rig}}, {{work}} and {{tmp}}.
  • A handler for the Next.js core exports server, browser or both. Each is called once with { root, log } and returns the function that answers. server answers what the app's own process asks and browser what the page asks. Returning null passes the request to the next fixture. The fixtures behind a journey share one address, so {{id.url}} is the same for each of them.
  • On Next.js, app.clock and app.preload are for fixtures. A journey on staging runs on the real clock with nothing preloaded.
  • No core runs run = "local" services yet. The check accepts them and the sheet lists their commands. Next.js leaves a journey on local-core data out of its walks and its doctor says how many. MyGo refuses a rig with any [[services]].
  • The Rails and Kotlin Multiplatform cores keep their own forms (Rails its recipes, Kotlin Multiplatform its walks) for this round. Neither declares rig = true, so the app offers them no rig.
  • whole on a journey is read and kept in rig show --json. The check doesn't test it and nothing in PitaFix's own rig code acts on it, so it counts only for a core that offers the journey as a Whole app walk.
  • Check what you can't see. The check reads a manifest. It can't say that a selector finds its element or that a handler answers what the app asks. That is what rig test is for, with a core.

On this page