Open topic with navigation

UnitTestSuiteBase Class
The base class of the LeanFT Visual Studio template classes that are provided when creating a new LeanFT test project. This class is used by NUnit 3 template base class SetupFixture.
Remarks
This class is used by NUnit 3 template base class SetupFixture.This class encapsulates all the functionality related to running LeanFT tests and creating the LeanFT HTML report.

C# Syntax

    public class UnitTestSuiteBase

Inheritance Hierarchy

System.Object
HP.LFT.UnitTesting.UnitTestSuiteBase
HP.LFT.UnitTesting.UnitTestBase

Public Constructors

| Name | Description
--- | --- | ---
| UnitTestSuiteBase Constructor |

Top
Protected Methods

| Name | Description
--- | --- | ---
| GetConfigurationAssembly | Returns the System.Reflection.Assembly for the currently loaded configuration.
| GetReportConfiguration | Returns a HP.LFT.Report.Configuration.ReportConfiguration instance with the values from the 'App.config' of the assembly returned by GetConfigurationAssembly.
| GetSdkConfiguration | Returns an instance with the values from the 'App.config' of the assembly returned by GetConfigurationAssembly.
| TestSuiteSetup | This method is called by LeanFT Visual Studio templates' GlobalSetup to initialize the test class.
| TestSuiteTearDown | This method is called by LeanFT Visual Studio templates' GlobalTeardown to clean up the test class.

Top