// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Commandlets/Commandlet.h" #include "RunLuaTestsCommandlet.generated.h" /** * Headless commandlet that boots a real UWorld + UnLua 2.3.6 Lua 5.4 runtime * and executes the compiled TypeScript -> UnLua test suite (`Tests.UE.UERuntimeSuite`). * * Usage: * UnrealEditor-Cmd -run=RunLuaTests -unattended -nop4 -nosplash -NullRHI * (Optional: pass -UseLuaBundle to run tests directly from /Game/Generated/DA_LuaBundle) */ UCLASS() class UNREALLUADEMOEDITOR_API URunLuaTestsCommandlet : public UCommandlet { GENERATED_BODY() public: URunLuaTestsCommandlet(); virtual int32 Main(const FString& Params) override; };