API ReferencecommontestFramework
testFramework/ - Unit Testing Framework
Simple unit test framework for BeamNG Lua code with JUnit XML output.
Simple unit test framework for BeamNG Lua code with JUnit XML output.
| File | Description |
|---|---|
JUnitXMLWriter.lua | Writes test results to JUnit-compatible XML format |
TestManager.lua | Test runner: collects, executes, and reports on unit tests |
techUtils Reference
Module defined in `lua/common/tech/techUtils.lua`. Utility functions for the tech/co-simulation layer - surface height queries and table-to-vector conversions.
JUnitXMLWriter Reference
Module defined in `lua/common/testFramework/JUnitXMLWriter.lua`. Writes test results in JUnit XML format for CI/CD integration.