Run/Debug Configuration: FlexUnit
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. |
Share | Select this checkbox to share the run configuration through version control. If the checkbox is not selected, the run configuration settings are stored in If the checkbox is selected, the settings are stored in a separate |
Single instance only | If you select this checkbox, only one instance of the run configuration will run at a time. |
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:
|
Show test log output | If you want the test log to be output, select this checkbox 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:
To select the required program, click
|
Place SWF file in a local-trusted sandbox | For Web build configurations: select this checkbox 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 |
---|---|---|
![]() | Alt+Insert | Click this icon to add a task to the list. Select the task to be added:
|
![]() | Alt+Delete | Click this icon to remove the selected task from the list. |
![]() | Enter | Click this icon to edit the selected task. Make the necessary changes in the dialog that opens. |
![]() | Alt+Up | Click this icon to move the selected task one line up in the list. |
![]() | Alt+Down | Click this icon to move the selected task one line down in the list. |
Show this page | Select this checkbox to have the run/debug configuration settings shown prior to actually starting the run/debug configuration. |
Toolbar
Item | Description |
---|---|
![]() | Use this icon or shortcut to create a new run/debug configuration. |
![]() | Use this icon or shortcut to delete the selected run/debug configuration. |
![]() | Use this icon or shortcut to create a copy of the selected run/debug configuration. |
![]() | Click this button to edit the default settings for run/debug configurations. |
![]() ![]() | 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. |