I received a marketing email from Jetbrains mentioning FlexUnit support for Maia M1. Is there any documentation or can someone enlighten me on how to use it?
I received a marketing emai from Jetbrains mentioning FlexUnit support for Maia M1. Is there any documentation or can someone enlighten me on how to use it?
I tried to set up a UnitTest in the RUN/DEBUG configuration, but the Test class is not found (manually entered or by lookup button). I use a standard Maven project structure (src/test/flex) and configured the test directory as "Test Sources" in the Project Settings. I also tried to add the folder as "Sources", but the Test class is not found. Any hint?
There is some known problems with FlexUnit and Maven, working on it :)
Peter Jacobsen wrote:
I tried to set up a UnitTest in the RUN/DEBUG configuration, but the Test class is not found (manually entered or by lookup button). I use a standard Maven project structure (src/test/flex) and configured the test directory as "Test Sources" in the Project Settings. I also tried to add the folder as "Sources", but the Test class is not found. Any hint?
the tests actually do run within the Maven build using Flex Mojos.
For convenience it would be nice to run the "test the tests" within the IDE. In the RUN dialog I was expecting to be able to navigate to Test classes found in anything set up in "Tests Source Folders" and the lookup button being populated with those qualifiying classes (like "static void main" stuff in Java).
Please follow these Idea blog links
http://blogs.jetbrains.com/idea/2009/06/flexunit-4-support-in-maia-2/
http://blogs.jetbrains.com/idea/2009/05/flexunit-support-in-maia-2/
Peter Jacobsen wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
I tried to set up a UnitTest in the RUN/DEBUG configuration, but the Test class is not found (manually entered or by lookup button). I use a standard Maven project structure (src/test/flex) and configured the test directory as "Test Sources" in the Project Settings. I also tried to add the folder as "Sources", but the Test class is not found. Any hint?
Thanks,
Peter
There is some known problems with FlexUnit and Maven, working on it :)
Peter Jacobsen wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Thanks Maxim,
the tests actually do run within the Maven build using Flex Mojos.
For convenience it would be nice to run the "test the tests" within the IDE. In the RUN dialog I was expecting to be able to navigate to Test classes found in anything set up in "Tests Source Folders" and the lookup button being populated with those qualifiying classes (like "static void main" stuff in Java).
Looking forward to the next EAP
Regards,
Peter