Contents

App Intents Testing

Test your app intents, entities, queries, and integration with system features like Siri or Spotlight.

Overview

The App Intents framework allows you to integrate your app with system features like Siri, Shortcuts, or Spotlight. Use App Intents Testing to run and test your app intents, entities, enums, and query logic out-of-process — the same way Siri or Shortcuts perform them. Additionally, with App Intents Testing you can create tests that verify your app’s integration with system features like Siri or Spotlight. The framework provides type-erased APIs that let you reference intents by name, set their parameters, and run them without linking against your app target.

Topics

Essentials

Intents, entities, enums, and queries

Intent and query result verification

Entity annotation testing

Intermediate types

Supporting types