Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package apperr classifies errors by what went wrong, not by how a transport reports it.
|
Package apperr classifies errors by what went wrong, not by how a transport reports it. |
|
github
Package github signs users in with their GitHub account.
|
Package github signs users in with their GitHub account. |
|
oauth2
Package oauth2 signs users in with any OAuth2 provider that has a user endpoint.
|
Package oauth2 signs users in with any OAuth2 provider that has a user endpoint. |
|
oauthflow
Package oauthflow is the OAuth2 authorization-code sign in shared by the GitHub and the generic OAuth2 provider.
|
Package oauthflow is the OAuth2 authorization-code sign in shared by the GitHub and the generic OAuth2 provider. |
|
oauthflow/flowtest
Package flowtest runs the sign in scenarios every OAuth2 provider must pass against a fake identity provider.
|
Package flowtest runs the sign in scenarios every OAuth2 provider must pass against a fake identity provider. |
|
password
Package password signs users in with an email address and a password.
|
Package password signs users in with an email address and a password. |
|
usersession
Package usersession keeps the signed-in user in a cookie session.
|
Package usersession keeps the signed-in user in a cookie session. |
|
androiddevice/adb
Package adb runs adb commands for one device through a device.CommandRunner.
|
Package adb runs adb commands for one device through a device.CommandRunner. |
|
androiddevice/scrcpy
Package scrcpy streams the screen of an Android device as H.264 video with the scrcpy server (https://github.com/Genymobile/scrcpy, Apache-2.0).
|
Package scrcpy streams the screen of an Android device as H.264 video with the scrcpy server (https://github.com/Genymobile/scrcpy, Apache-2.0). |
|
hostinfo
Package hostinfo reads facts about the machine a node runs on (OS name and version, host name, hardware identity) through an injected command runner, so the macos and web platforms share one implementation that tests on any OS.
|
Package hostinfo reads facts about the machine a node runs on (OS name and version, host name, hardware identity) through an injected command runner, so the macos and web platforms share one implementation that tests on any OS. |
|
hostinfo/hostinfotest
Package hostinfotest holds the test fakes shared by the macos and web platform tests.
|
Package hostinfotest holds the test fakes shared by the macos and web platform tests. |
|
luascript
Package luascript runs the hub Lua scripts shared by the Android and iOS devices.
|
Package luascript runs the hub Lua scripts shared by the Android and iOS devices. |
|
api
Package api is the REST endpoint of the hub: it mounts the handlers of every resource under /api.
|
Package api is the REST endpoint of the hub: it mounts the handlers of every resource under /api. |
|
api/apps
Package apps is the HTTP adapter of the apps and their parameters: it reads the request, calls the app service and writes the result.
|
Package apps is the HTTP adapter of the apps and their parameters: it reads the request, calls the app service and writes the result. |
|
api/bundles
Package bundles is the HTTP adapter of the bundles of an app: it reads the request, calls the app service and writes the result.
|
Package bundles is the HTTP adapter of the bundles of an app: it reads the request, calls the app service and writes the result. |
|
api/devices
Package devices is the HTTP adapter of the device use cases: it reads the request, calls one service method and writes the result.
|
Package devices is the HTTP adapter of the device use cases: it reads the request, calls one service method and writes the result. |
|
api/internal/appfixture
Package appfixture is the test setup of the app and bundle routes: the api with two projects that have an app each, a temporary bundle folder, and helpers to store bundles and send raw and multipart requests.
|
Package appfixture is the test setup of the app and bundle routes: the api with two projects that have an app each, a temporary bundle folder, and helpers to store bundles and send raw and multipart requests. |
|
api/internal/runfixture
Package runfixture is the test setup of the run, protocol, overview and stats routes: the api with two projects that have one app, test and run each.
|
Package runfixture is the test setup of the run, protocol, overview and stats routes: the api with two projects that have one app, test and run each. |
|
api/overview
Package overview holds the HTTP handlers of the project overview and statistics.
|
Package overview holds the HTTP handlers of the project overview and statistics. |
|
api/profile
Package profile is the HTTP adapter of the signed in user: the profile and the personal access tokens.
|
Package profile is the HTTP adapter of the signed in user: the profile and the personal access tokens. |
|
api/projects
Package projects is the HTTP adapter of the project use cases.
|
Package projects is the HTTP adapter of the project use cases. |
|
api/protocols
Package protocols holds the HTTP handlers of the protocols of a test run: the protocol page and the baselines its performance is compared with.
|
Package protocols holds the HTTP handlers of the protocols of a test run: the protocol page and the baselines its performance is compared with. |
|
api/runs
Package runs holds the HTTP handlers of the test runs of an app: paging through them, the run page, starting and cancelling a run.
|
Package runs holds the HTTP handlers of the test runs of an app: paging through them, the run page, starting and cancelling a run. |
|
api/settings
Package settings is the HTTP adapter of the project settings: the users, the access tokens of the project and the nodes.
|
Package settings is the HTTP adapter of the project settings: the users, the access tokens of the project and the nodes. |
|
api/tests
Package tests holds the HTTP handlers of the test definitions of an app: they parse the request, call the test service and write the answer.
|
Package tests holds the HTTP handlers of the test definitions of an app: they parse the request, call the test service and write the answer. |
|
control
Package control exposes the live device control API under /api/:project_id/device/:device_id/...
|
Package control exposes the live device control API under /api/:project_id/device/:device_id/... |
|
httpx
Package httpx is the one place where the api turns errors and requests into HTTP: the status of an apperr kind, the error body, and the readers for path ids, the limit parameter and the project and app of a request.
|
Package httpx is the one place where the api turns errors and requests into HTTP: the status of an apperr kind, the error body, and the readers for path ids, the limit parameter and the project and app of a request. |
|
mcp
Package mcp embeds a Model Context Protocol server in the master.
|
Package mcp embeds a Model Context Protocol server in the master. |
|
control
Package control provides interactive (live) device control on top of the device layer: native input, screenshots, logs, app lifecycle and app-level actions through the Unity plugin.
|
Package control provides interactive (live) device control on top of the device layer: native input, screenshots, logs, app lifecycle and app-level actions through the Unity plugin. |
|
node/jsonrpc
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package.
|
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package. |
|
session
Package session manages the test sessions of the hub and stores their files.
|
Package session manages the test sessions of the hub and stores their files. |
|
videostream
Package videostream moves device video streams over websockets: from a node to the master, and from the master to the browser.
|
Package videostream moves device video streams over websockets: from a node to the master, and from the master to the browser. |
|
videostream/videostreamtest
Package videostreamtest has a fake device.VideoStream for tests.
|
Package videostreamtest has a fake device.VideoStream for tests. |
|
internal
|
|
|
apitest
Package apitest builds the real api router for tests: the services the composition root (internal/wiring) builds and the same RegisterRoutes the hub calls, backed by an in-memory database and the testkit fakes, so tests go through HTTP and not through the internals of the api.
|
Package apitest builds the real api router for tests: the services the composition root (internal/wiring) builds and the same RegisterRoutes the hub calls, backed by an in-memory database and the testkit fakes, so tests go through HTTP and not through the internals of the api. |
|
testkit
Package testkit is the shared kit for Go tests: an in-memory database, seed builders, fakes of the device and manager interfaces, a fake clock and command runner, and HTTP helpers.
|
Package testkit is the shared kit for Go tests: an in-memory database, seed builders, fakes of the device and manager interfaces, a fake clock and command runner, and HTTP helpers. |
|
wiring
Package wiring is the composition root of the hub: it builds the database connection, stores, services, managers and endpoints of a master or a node exactly once and hands each of them only what it needs.
|
Package wiring is the composition root of the hub: it builds the database connection, stores, services, managers and endpoints of a master or a node exactly once and hands each of them only what it needs. |
|
modules
|
|
|
service
|
|
|
access
Package access is the use cases of who may use the hub: the users, the access tokens of a project, the personal tokens of a user and the nodes with their tokens.
|
Package access is the use cases of who may use the hub: the users, the access tokens of a project, the personal tokens of a user and the nodes with their tokens. |
|
app
Package app is the use cases of apps and their bundles: creating and editing apps and their parameters, listing, reading, archiving and deleting bundles, and storing an uploaded build.
|
Package app is the use cases of apps and their bundles: creating and editing apps and their parameters, listing, reading, archiving and deleting bundles, and storing an uploaded build. |
|
device
Package device holds the use cases around the devices of a project: the list and detail views with their live state, editing, deleting, unlocking, running tests on a device and the results that ran on it.
|
Package device holds the use cases around the devices of a project: the list and detail views with their live state, editing, deleting, unlocking, running tests on a device and the results that ran on it. |
|
internal/validate
Package validate holds the input rules the services share.
|
Package validate holds the input rules the services share. |
|
overview
Package overview holds the project overview and the project statistics: what a project has, which tests need attention, what runs now and what ran last.
|
Package overview holds the project overview and the project statistics: what a project has, which tests need attention, what runs now and what ran last. |
|
project
Package project is the use cases of the projects: listing, creating, renaming and deleting them.
|
Package project is the use cases of the projects: listing, creating, renaming and deleting them. |
|
protocol
Package protocol holds the use cases around the protocols of a test run: the protocol page with the history it is compared with, and the baselines a protocol's performance can be compared against.
|
Package protocol holds the use cases around the protocols of a test run: the protocol page with the history it is compared with, and the baselines a protocol's performance can be compared against. |
|
run
Package run holds the use cases around test runs: starting one on the devices of a test, cancelling it, and reading runs, protocols and their logs.
|
Package run holds the use cases around test runs: starting one on the devices of a test, cancelling it, and reading runs, protocols and their logs. |
|
test
Package test is the use cases of the test definitions: listing and reading the tests of an app, creating them and saving the edit page.
|
Package test is the use cases of the test definitions: listing and reading the tests of an app, creating them and saving the edit page. |
|
accessstore
Package accessstore is the gorm repository of users, access tokens and nodes.
|
Package accessstore is the gorm repository of users, access tokens and nodes. |
|
appstore
Package appstore is the gorm repository of apps, their parameters and their bundles.
|
Package appstore is the gorm repository of apps, their parameters and their bundles. |
|
devicestore
Package devicestore is the gorm repository of devices.
|
Package devicestore is the gorm repository of devices. |
|
overviewstore
Package overviewstore is the gorm repository of the project overview and statistics.
|
Package overviewstore is the gorm repository of the project overview and statistics. |
|
projectstore
Package projectstore is the gorm repository of the projects.
|
Package projectstore is the gorm repository of the projects. |
|
runnerstore
Package runnerstore is the gorm repository of the test runners: it creates the run, appends to its log and reads the configured unity tests.
|
Package runnerstore is the gorm repository of the test runners: it creates the run, appends to its log and reads the configured unity tests. |
|
runstore
Package runstore is the gorm repository of test runs and their protocols.
|
Package runstore is the gorm repository of test runs and their protocols. |
|
storeerr
Package storeerr maps the errors of the storage layer (gorm) to apperr kinds, so handlers and services only ever see apperr errors.
|
Package storeerr maps the errors of the storage layer (gorm) to apperr kinds, so handlers and services only ever see apperr errors. |
|
teststore
Package teststore is the gorm repository of the test definitions.
|
Package teststore is the gorm repository of the test definitions. |
|
base/basetest
Package basetest has the fakes the runner tests share: an app connection that answers the actions of a test run, and the setup of a run.
|
Package basetest has the fakes the runner tests share: an app connection that answers the actions of a test run, and the setup of a run. |
|
recording
Package recording records the screens of the devices of a test run, so the run can be replayed next to its log.
|
Package recording records the screens of the devices of a test run, so the run can be replayed next to its log. |
|
scenario
Package scenario runs the steps of a scenario on the devices.
|
Package scenario runs the steps of a scenario on the devices. |
|
unity
Package unity runs the tests of a unity app: the app lists its tests, each is started on the devices and reports back its protocol.
|
Package unity runs the tests of a unity app: the app lists its tests, each is started on the devices and reports back its protocol. |
|
tools
|
|
|
androidsdk
Package androidsdk locates Android SDK tools for processes whose PATH lacks them, e.g.
|
Package androidsdk locates Android SDK tools for processes whose PATH lacks them, e.g. |
|
mcpproxy
Package mcpproxy is a host-side proxy for the master's MCP endpoint.
|
Package mcpproxy is a host-side proxy for the master's MCP endpoint. |
|
utils
|
|
Click to show internal directories.
Click to hide internal directories.






