UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
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.
Syntax
public class UnitTestSuiteBase 
Inheritance Hierarchy

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

Public Constructors
 NameDescription
Public ConstructorUnitTestSuiteBase Constructor  
Top
Protected Methods
 NameDescription
Protected MethodGetConfigurationAssemblyReturns the System.Reflection.Assembly for the currently loaded configuration.  
Protected MethodGetReportConfigurationReturns a HP.LFT.Report.Configuration.ReportConfiguration instance with the values from the 'App.config' of the assembly returned by GetConfigurationAssembly.  
Protected MethodGetSdkConfigurationReturns an instance with the values from the 'App.config' of the assembly returned by GetConfigurationAssembly.  
Protected MethodTestSuiteSetupThis method is called by LeanFT Visual Studio templates' GlobalSetup to initialize the test class.  
Protected MethodTestSuiteTearDownThis method is called by LeanFT Visual Studio templates' GlobalTeardown to clean up the test class.  
Top