Alternate Flex Unit Test invokation
I appreciate the implementation of the Flex Unit Test support in Maia.
It would be nice to invoke a Unit Test by just right-clicking a test class via context menu (just like in Java). Setting up a RUN configuration for each test is kind of tedious - also all information should be available when the Test is selected. What do you think?
Thanks and Regards,
Peter
请先登录再写评论。
Hello Peter,
Actually context menu action to invoke FlexUnit tests (run, debug or just create run configuration) is implemented since build #10303.
Right-click your test method, class or package, then choose Create/Run/Debug action and finally choose FlexUnit in 'Choose configuration type to run' popup. (Your module needs to have a dependency on FlexUnit library.)
If this does not work for you, please create a JIRA issue and give more details on your project configuration.
Thanks,
Kirill
Hi Kirill,
I had a hard time finding the menu entry because it is labelled "Create <project name>..." and I did not expect another sub-menu that offers Unit testing. Please see http://www.jetbrains.net/jira/browse/IDEA-23677 for a suggestion.
Thanks and Regards,
Peter