← Quick start: run your first app

3. Check and test

installed luastra CLI · about 10 minutes
luastra check · luastra test

check validates strict Luau, the module graph, manifest, assets, capabilities, and SDK identity; test executes the test modules declared in luastra.json.

When to use it

Run this after each small source or manifest change and before previewing or building.

  • Both commands should emit JSON with result set to PASS.
  • A check failure names the source or manifest problem; fix that first instead of continuing to preview.
  • The generated smoke test checks SDK construction, not every interaction you add later.

Focused example

luastra check
luastra test

Complete inventory

View all pages in Quick start: run your first app
← Previous: 2. Make a visible changeNext: 4. Preview and interact →