/// <summary>
 /// Log a test case result with error details.
 /// </summary>
 /// <param name="testCaseResult">Result to log.</param>
 private static void LogTestCaseResult(TestCaseResult testCaseResult)
 {
     testCaseResults.Add(testCaseResult);
     UnityEngine.Debug.Log(testCaseResult.FormatString(true));
 }