![]() In IntelliJ IDEA and Eclipse (including also Spring Tool Suite and JBoss Developer Studio), you can create the following projects: For details on using the NUnit framework, see the NUnit documentation.īack to top UFT Developer project templates for IntelliJ IDEA and Eclipse.For details on using the MSTest framework, see the relevant MSDN documentation.UnitTestClassBase.cs, which controls what happens during the various phases of your run, including running and closing the UFT Developer runtime engine (project template only).Įxample: A new UFT Developer NUnit project in Visual Studio:.Each / attribute should declare a void test method that contains the main code for that test.You can add multiple / attributes if you want to include several tests in your class.You can rename this method to whatever you want to call your test. The template includes a single (NUnit) / (MSTest) attribute containing an empty Test() / TestMethod() method.In both cases, they include attributes where you can define: Setup code The exact structure of this template depends on whether you are using NUnit or MSTest. For details, see Customize test settings.Ī basic UFTDeveloperTest.cs template where you write your code (project and item templates). App.config, which enables you to customize certain test settings (project template only).Reference to Microsoft.CSharp and, for UFT Developer NUnit projects, amework (project template only) Reference to the HP.LFT.SDK and related HP.LFT.* elements (project template only)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |