run_functional_test_in_pie
Run a named AFunctionalTest Blueprint in a Play-in-Editor session to execute the test and return its pass/fail verdict, auto-adding it to PrepareForPIE.
Instructions
Start a Play-in-Editor session that runs the named AFunctionalTest BP and return the test verdict. Requires the named BP to exist; it will be auto-added to the current editor world's "PrepareForPIE" list so PIE picks it up. Honest-gated: returns success=false (not an error) if PIE fails to start -- the harness detects a transport drop separately.
Returns: { test_asset_path, pie_started, verdict: "pass"|"fail"|"not_run", pie_stopped, already_in_pie }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_stop_pie | No | Optional bool (default true). After the test completes (pass/fail), stop PIE and return the verdict. | |
| test_asset_path | Yes | Path to the AFunctionalTest BP asset (e.g. "/Game/Tests/BP_FT_PlayerHealth"). |