class ITestSuiteFactory

Factory interface for running tests.

The factory handles the full test lifecycle including Application startup/shutdown if required. Implementations should be provided for different application types (Framework vs Editor).

Public

Methods

~ITestSuiteFactory

virtual ~ITestSuiteFactory()

Run

virtual i32 Run(TestLayers layers, TestOutputFormat outputFormat, const Path &outputPath) = 0

Runs tests for the specified layers.

Handles all Application lifecycle internally.

layers
Combination of test layers to run.
outputFormat
Output format for test results.
outputPath
Path for output file (used with JSON format).

Returns: Exit code (0 for success, non-zero for failures).

GetSupportedLayers

virtual TestLayers GetSupportedLayers() const = 0

Returns which layers this factory can handle.