Enum ReferenceImageRootSource
Selects how the reference image file stem is derived when a graphics test method is parameterized.
Namespace: UnityEngine.TestTools.Graphics
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
public enum ReferenceImageRootSource
Remarks
When ReferenceImageNamingStrategyType is set and produces a descriptor, this value is ignored for that method.
Fields
| Name | Description |
|---|---|
| ParameterizedTestName | Use the parameterized NUnit test case name (default, historical behavior). |
| SceneAssetFileStem | For SceneGraphicsTestCase, use the scene asset file name without extension as the reference image root. All parameter combinations for the same scene then share one reference image. If the raw case is not scene-based, falls back to ParameterizedTestName and logs a warning. |