Skip to main content
April 11, 2009
Question

FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please

  • April 11, 2009
  • 9 replies
  • 20102 views

Hi All,

I have been beavering away developing an Eclispe plugin for FlexUnit and would like your feedback.

To get this free plugin simply visit: http://www.codesquared.com/eclipse/installinstructions.html

Let me know what you think.

Mark

This topic has been closed for replies.

9 replies

Participant
March 16, 2011

I am using Eclipse 3.4.2 . The plugin doesn't seem to detect any output written to flashlog.txt. I have a very small test that only calls assertTrue(false). I see the following in the log file:

F,com.codesquared.example.test::AccoutTest,testNew,expected:<true> but was:<false>,<<

Nothing shows up in the FlexUnit output tab. Also, I have to exit the flash player manually, not sure if this is expected. Once I run this once, eclipse (javaw.exe) has a hold of the flashlog.txt file and subsequent tests will not write to it. Using Process Explorer (I'm using Windows XP), I can force it to close the handle to the log file and the next flash player instance will use it. (but eclipse will once again hold on to this).

Anyone have any ideas?

Thanks,

George

Participant
June 28, 2010

Any avancement for the Flexunit 4 support ??

Thanks

Participant
March 12, 2010

Hi,

I am trying to use the update site for the FlexUnit plugin, however when it tries to get the repository details, it throws an error message saying that there is no repository at this location.

Has the repository being removed?

Thanks & Regards,

Madhav

Participant
August 11, 2009

A great plugin.  I have installed it, although had some troubles first.  See my blog at http://sberka.blogspot.com/.

Participant
July 20, 2009

The Plugin looks great, but I too am using the Flexmojos project and so my main flex source directory is not in the typical Flex source location.  Can the location of the flex src directory be added as a preference?

Keegan

July 20, 2009

Sorry for the delayed response I have been busy with the daytime job.

The plugin identifies the source directory by looking in the .actionscriptproperties file. How is the Flexmojos dev environment managing this?

Mark

Participant
July 20, 2009

Hi,

Your response to my question was pretty quick actually and I am grateful. Flexmojos makes you put non test code in src/main and test code in src/test. The problem may be that in eclipse we use src/main as the source folder path and then add src/test as a separate library path entry.

Does the plugin only reference the sourceFolderPath in the compiler tag of .actionscriptproperties or does it look at all the compilerSourcePathEntry tags inside the compilerSourcePath tag.

I have attached a copy of our .actionScriptProperties so you can see how we have it mapped out.

Thanks,

Keegan

Participant
June 19, 2009

Hi, is the source for this available somewhere? This would be a perfect addition to my development evironment, but it doesn't seem to run with a flex-mojos created project which uses src/main/flex as the main source folder instead of just src.

Regards,

Hannu

Participating Frequently
June 2, 2009

Mark,

Let me know if you would like to work with us for FlexUnit 4 support.

Mike

June 4, 2009

Hi Mike,

Have just read your blog on FlexUnit 4 and I'm excited about the alignment with the JUnit 4 approach.

I would be more than happy to work with you on FlexUnit 4 support. What areas specifically are you interested in me getting invoved?

Regards,

Mark

April 18, 2009

Hi, I just install FlexUnit eclipse plugin. I was waiting for this kind of plugin !!!

I'm on Mac OS 10.5.6 with Flex Builder 3 standalone and  I get a validation error on preference page...

When I try to set the flash player app path ( /Applications/DEVELOPPEMENT/Adobe Flex Builder 3/Player/mac/10/mac/Flash Player.app) I get a validation error : Value must be an existing file.

Seems that Mac Path are not supported here... But Flash player log directory set to : /Library/Application Support/Macromedia/Flash Player/Logs/ seems to be accepted.

Ready to help for having a MAC compliant version...

April 24, 2009

Firstly thanks for bringing this to my attention, not having a MAC has stopped me from testing it in that environment so the support you have given me in sorting out the compatibility issues has been fantastic.

For everyone else there is now a new version of the plugin which incorporates the MAC compatibility fixes along with the following new features:

New In Version 1.1.0
Wizard support to automatically generate the test harness
Dynamic creation and execution of tests direct from the actionscript class

Participant
April 24, 2009

I don't see it on the update site, is it already published?

Also, is it possible to have a downloadable version, so I can try putting it into the dropins folder directly, as I still have the error on the eclipse dependency above. My computer is also a Mac with Leopard and Flex Builder is installed as an Eclipse plugin, not the standalone version.

Participant
April 13, 2009

I've tried to install it on Eclipse 3.4.2 but I get the following error:

"Cannot complete the request.  See the details.

Cannot find a solution satisfying the following requirements org.eclipse.debug.ui [3.4.0.v20080529-1300]."

April 14, 2009

Hi Marcello,

Interestly org.eclipse.debug.ui is not a plugin dependency for the FlexUnit plugin. When did you get this error - during installation of the plugin or post installation?

If it was during the installation at which step did this ocurr?

If it was at runtime did this happen when you were setting the preferences for the plugin or when you attempted to run a test?

I have reviewed the installed plugins on my Eclipse version and I do have org.eclipse.debug.ui plugin albeit version 3.4.2. You can check if this plugin exists on your eclipse implementation by doing Help -> About Eclipse SDK and selecting the plugin details button.

Regards,

Mark