-
-
Save testautomationtribe/e5634defce8b814955da3f5edef15e7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
using RelevantCodes.ExtentReports; | |
namespace TatAutomationFramework.Common | |
{ | |
/// <summary> | |
/// Creates a single instance of Extent Report | |
/// </summary> | |
public class ReportingManager | |
{ | |
/// <summary> | |
/// Create new instance of Extent report | |
/// </summary> | |
private static readonly ExtentReports _instance = new ExtentReports(TestContext.CurrentContext.TestDirectory + "\\TestResults.html"); | |
static ReportingManager() { } | |
private ReportingManager() { } | |
/// <summary> | |
/// Property to return the instance of the report. | |
/// </summary> | |
/// <value> | |
/// The instance. | |
/// </value> | |
public static ExtentReports Instance | |
{ | |
get | |
{ | |
return _instance; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment