Skip to content

Testing and automation (Blueprint) โ€‹

What/Why: Ship with confidence by running quick functional tests regularly.

Prereqs

  • Functional Testing plugin; a test map

Steps

  1. Test actors
  • Create BP test actors deriving from Functional Test
  • Implement Start Test logic and success criteria
  1. Scenarios
  • Input smoke tests (interact once, dash, jump)
  • Save/load roundtrip; inventory add/remove
  1. Running tests
  • Use Session Frontend or command line to run automation
  • Report results to CI and keep flaky tests out

Data

  • Data-driven tests via DataAssets listing steps and expected outcomes

Performance

  • Keep tests fast; parallelize where possible

Suggested prompts โ€‹

  • โ€œCreate a Functional Test that validates Interact triggers once and opens a door.โ€
  • โ€œBlueprint-only test for save/load roundtrip using SaveService.โ€
  • โ€œShow how to run tests headless and export results.โ€

Prompts for this example

  • โ€œProvide a minimal Functional Test BP that presses Interact and asserts a tag Door.Open is set.โ€

๐Ÿข Production & Enterprise

3 of 4 completed