IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

Use this dialog to create or edit FlexUnit run/debug configurations which let you run or debug your FlexUnit tests.

Note that this run/debug configuration type cannot be used for running or debugging the tests on mobile devices. To run or debug the tests intended for mobile devices, you should use a built-in device emulator.

Main settings

Item Description
Name Use this field to edit the name of the run/debug configuration.
Build configuration Select the build configuration to be used.

Note that the corresponding build configuration should have a core FlexUnit library among its dependencies, see Testing ActionScript and Flex Applications.

Test Select the test scope and specify the associated settings:
  • All in Package. Select this option to run all tests in a certain package. Specify the qualified package name in the Package and Method fields respectively.

    Use browseButton (Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift Enter) to select the desired package in the Choose Package and the Choose Test Method dialogs.

    To run all tests in all the packages of a module, leave the Package field empty.

  • Class or suite. Select this option to run a test class or suite. Specify the fully qualified name of the test class in the Class and Method fields respectively.

    Use browseButton (Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift Enter) to select the desired class in the Choose Test Class and the Choose Test Method dialogs.

    To run all tests in all the packages of a module, leave the Package field empty.

  • Method. Select this option to run a test method. Specify the fully qualified name of the test class and the method name in the Class and Method fields respectively.

    Use browseButton (Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift Enter) to select the desired class and method in the Choose Test Class and the Choose Test Method dialogs.

Show test log output If you want the test log to be output, select this check box and select the logging level from the list.

Note that a standard logger from the mx.logging package will be used.

Launch with For Web build configurations: specify the program to be used for running your test. You can use:
  • The system default application, that is, the program associated with the target file type (HTML or SWF) in the operating system. Usually, this is a Web browser. For SWF files, this may also be a stand-alone Flash player.
  • A Web browser.
  • A Flash player.

To select the required program, click browseButton to the right of the Launch with field, and then specify the program in the Launch With dialog:

  • To select the system default application, just click System default application.
  • To select the browser, click Browser and select the required browser from the list.

    Additionally, you can access the Web Browsers dialog to adjust Web browser settings. To open this dialog, use browseButton next to the list.

  • To select the Flash player, click Flash Player and then click browseButton next to the Flash Player field. Then, specify the location of the required Flash player in the dialog that opens.
Place SWF file in a local-trusted sandbox For Web build configurations: select this check box if you want to register your test SWF file as trusted.

Trusted SWF files can interact with any other SWF files. They can load data from anywhere, remote or local.

Technically, trusted SWF files are assigned to the local-trusted sandbox.

Before Launch options

Specify which tasks should be carried out before starting the run/debug configuration. The specified tasks are performed in the order that they appear in the list.

Item Shortcut Description
add Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter Click this icon to add a task to the list. Select the task to be added:
  • Run External tool. Select this option to run an application which is external to IntelliJ IDEA. In the dialog that opens, select the application or applications that should be run. If the necessary application is not defined in IntelliJ IDEA yet, add its definition. For more information, see Configuring Third-Party Tools and External Tools.
  • Make. Select this option to have the project or module compiled. The Make Module command will be carried out if a particular module is specified in the run/debug configuration, and the Make Project command otherwise.

    If an error occurs during the compilation, IntelliJ IDEA won't attempt to start the run/debug configuration.

  • Make, no error check. The same as the Make option but IntelliJ IDEA will try to start the run/debug configuration irrespective of the compilation result.
  • Build Artifacts. Select this option to have an artifact or artifacts built. In the dialog that opens, select the artifact or artifacts that should be built.

    See also, Configuring Artifacts.

  • Run Another Configuration. Select this option to have another run/debug configuration executed. In the dialog that opens, select the configuration to be run.
  • Run Ant target. Select this option to have an Ant target run. In the dialog that opens, select the target to be run. For more information, see Ant.
  • Generate CoffeeScript Source Maps. Select this option to have the source maps for your CoffeeScript sources generated. In the dialog that opens, specify where your CoffeeScript source files are located.

    For more information, see CoffeeScript Support.

  • Run Maven Goal. Select this option to have a Maven goal run. In the dialog that opens, select the goal to be run.

    For more information, see Maven.

delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand DeleteCommand DeleteCommand Delete Click this icon to remove the selected task from the list.
edit1 EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter Click this icon to edit the selected task. Make the necessary changes in the dialog that opens.
arrowUp Alt+UpAlt+UpAlt+UpAlt+UpAlt+Up or Ctrl+Alt+AAlt+UpAlt+UpCtrl+Alt+UpCtrl+Shift+UpControl UpControl UpControl Alt Up Click this icon to move the selected task one line up in the list.
arrowDown Alt+DownAlt+DownAlt+DownAlt+DownAlt+Down or Ctrl+Alt+EAlt+DownAlt+DownCtrl+Alt+DownCtrl+Shift+DownControl DownControl DownControl Alt Down Click this icon to move the selected task one line down in the list.
Show this page Select this check box to have the run/debug configuration settings shown prior to actually starting the run/debug configuration.

Toolbar

Item Description
add (InsertInsertInsertInsertInsertInsertInsertInsertInsertShift BackspaceInsertShift Backspace) Use this icon or shortcut to create a new run/debug configuration.
delete (DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDeleteDelete, Backspace or Command BackspaceDelete, Backspace or Command BackspaceDelete, Backspace or Command Backspace) Use this icon or shortcut to delete the selected run/debug configuration.
copy (Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCommand DCommand DCommand D) Use this icon or shortcut to create a copy of the selected run/debug configuration.
settings Click this button to edit the default settings for run/debug configurations.
arrowUp arrowDown Use these buttons to move the selected run/debug configuration up and down in the list.

The order of configurations in the list defines the order in which the configurations appear in the corresponding list on the main toolbar.

See Also

Concepts:

Procedures:

Language and Framework-Specific Guidelines:

Reference:

Web Resources: