Skip to content

Add modular tests for the Lua scripting API#820

Open
Gopmyc wants to merge 4 commits into
Overload-Technologies:mainfrom
Gopmyc:lua-api-tests
Open

Add modular tests for the Lua scripting API#820
Gopmyc wants to merge 4 commits into
Overload-Technologies:mainfrom
Gopmyc:lua-api-tests

Conversation

@Gopmyc
Copy link
Copy Markdown
Contributor

@Gopmyc Gopmyc commented May 23, 2026

Description

Adds a modular Lua API test harness.

Changes:

  • exposes a shared BindLuaApi setup used by both the engine and tests
  • adds OvLuaApiTests, which runs isolated *.test.lua files with a fresh Lua state
  • covers initial API surface, factories, enums, and Vector2/Vector3 behavior
  • runs Lua API tests in Windows and Linux CI after the build

The test runner avoids initializing full engine services, so service-backed APIs are checked for exposure first and can be covered with dedicated runtime fixtures later.

Related Issue(s)

N/A

Review Guidance

Focus on:

  • the shared Lua binding entry point
  • whether the first test scope is appropriate for CI
  • CI command paths for Windows/Linux

Screenshots/GIFs

N/A

AI Usage Disclosure

Generated new code / Refactored code / Documentation

Checklist

  • My code follows the project's code style guidelines
  • When applicable, I have commented my code, particularly in hard-to-understand areas
  • When applicable, I have updated the documentation accordingly
  • My changes don't generate new warnings or errors
  • I have reviewed and take responsibility for all code in this PR (including any AI-assisted contributions)

@Gopmyc
Copy link
Copy Markdown
Contributor Author

Gopmyc commented May 23, 2026

I think the Windows build problem is coming from GitHub @adriengivry, could you please restart it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant