If the chosen test method uses a data provider, provide the name of the data set in the Data set field. In the Add PHPUnit test pattern dialog that opens, locate the desired test class or test method symbol by using the Search by Name tab or the Project tab. In the Composite test patterns area, use, , and to manage the list of test patterns (that is, test classes or test methods) to be included in the configuration. To quickly locate a class, use code completion Ctrl+Space.ĭefined in the configuration file: select this option to have test runner execute the tests from a dedicated XML configuration file.Ĭomposite: select this option to have the test runner execute the tests from an arbitrary tests selection. In the Method field, specify the desired method. Method: select this option to have a specific test method launched. The location of the selected class will be displayed in the control File read-only field. To quickly locate a class, use code completion Ctrl+Space. In the Class field, type the name of the desired class. Type the path to the directory manually or click and select the desired directory in the Choose Test Directory dialog, that opens.Ĭlass: select this option to have all the unit tests in a test class launched. In the Directory field, specify the directory to search the unit test in. In this area, specify the location of tests or the configuration file where they are listed.ĭirectory: select this option to have all the unit tests in a directory launched.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |