Module test

Module test 

Source
Expand description

Types to run a test feedback server.

Structs§

Disposable
Disposable that can be dropped to stop a test feedback server.
Metadata
Represents the metadata of a snapshot.
Output
Represents an output directory on disk.

Enums§

Device
Platform-independent wrapper around the platform-dependent device types. Note: on iOS, UI automation only works in the iOS Simulator, not on physical devices. As such, it’s not necessary to make that distinction here.
Error
Error that is returned when an exception occurs during Polyhorn testing.
Message
Message that is sent to the test feedback server.

Functions§

serve
Starts a test feedback server for the given device. This function returns the address (incl. port) that the server is bound to, and a disposable that can be dropped to stop the server.