PyCharm 4.5.3 Help

Create Test Dialog

Navigate | Test - Create New Test

Ctrl+Shift+T


Use this dialog box to generate a test class for a class or method, if such test doesn't yet exist.

ItemDescription
Target directoryClick the browse button browseButton to open the directory chooser dialog box, and select the target directory, where the desired test file will be generated.
Test file nameIn this text field, specify the name of a file where test class will be generated, or accept the default name.
Test class nameIn this text field, specify the name of the test class, or accept the default name.
Test methodThis list shows all methods of a class in question (if the dialog has been invoked from the class declaration), or the name of the only method (if the dialog has been invoked from within this method).

Select the check box next to the method names to include these test methods in the generated test class.

See Also

Procedures:

Web Resources:

Last modified: 18 July 2015