C# Syntax
public abstract class UnitTestBase : UnitTestSuiteBase
System.Object
HP.LFT.UnitTesting.UnitTestSuiteBase
HP.LFT.UnitTesting.UnitTestBase
HP.LFT.UnitTesting.NUnit3UnitTestBase
Name | Description | |
---|---|---|
ALM | The default ALM data-source for data-driven UFT Developer tests. Use for NUnit 2.6x tests. | |
ALMStatic | The static ALM data-source for data-driven UFT Developer tests. Use for NUnit 3.x tests. | |
Reporter | Returns the Reporter of type used for reporting events. |
Name | Description | |
---|---|---|
GetAlternativeClassName | Returns the alternative Class name that is used whenever framework errors occur. | |
GetAlternativeTestName | Returns the alternative Test name that is used whenever framework errors occur. | |
GetClassName | This method is implemented in UFT Developer Visual Studio templates to get the running class name provided by the selected framework (NUnit/MSTest) TestContext. | |
GetConfigurationAssembly | Returns theSystem.Reflection.Assemblyfor the currently loaded configuration. (Inherited from HP.LFT.UnitTesting.UnitTestSuiteBase ) | |
GetFrameworkTestResult | This method is implemented in UFT Developer Visual Studio templates to get the running test/class status provided by the selected framework (NUnit/MSTest) TestContext. | |
GetReportConfiguration | Returns a HP.LFT.Report.Configuration.ReportConfigurationHP.LFT.UnitTesting.UnitTestSuiteBase . (Inherited from UnitTestSuiteBase.GetConfigurationAssembly instance with the values from the 'App.config' of the assembly returned by ) | |
GetSdkConfiguration | Returns an instance with the values from the 'App.config' of the assembly returned byUnitTestSuiteBase.GetConfigurationAssembly . (Inherited from HP.LFT.UnitTesting.UnitTestSuiteBase) | |
GetTestName | This method is implemented in UFT Developer Visual Studio templates to get the running test name provided by the selected framework (NUnit/MSTest) TestContext. | |
GetTestParameters | This method is implemented in UFT Developer Visual Studio template to get the running test parameters provided by MSTest TestContext. | |
TestSetUp | This method is called by UFT Developer Visual Studio templates' BasicSetUp, which runs before each test method. | |
TestSuiteSetup | Overridden. This method is called by UFT Developer Visual Studio templates' GlobalSetup to initialize the test class. This method is called by UFT Developer Visual Studio templates' GlobalSetup to initialize the test class. | |
TestSuiteTearDown | This method is called by UFT Developer Visual Studio templates' GlobalTeardown to clean up the test class. (Inherited from HP.LFT.UnitTesting.UnitTestSuiteBase ) | |
TestTearDown | This method is called by UFT Developer Visual Studio templates' BasicTearDown, which runs after each test method. |