/// <summary> /// Get the default file name for the current test /// </summary> /// <returns>Filename with out the extension</returns> protected virtual string GetFileNameWithoutExtension() { if (LoggingConfig.GetUseShortFileName()) { return($"{this.GetTestName()}{DateTime.UtcNow.ToString("_ffff", CultureInfo.InvariantCulture)}"); } return($"{this.GetFullyQualifiedTestClassName()} - {DateTime.UtcNow.ToString("yyyy-MM-dd-hh-mm-ss-ffff", CultureInfo.InvariantCulture)}"); }