4.1 B3 Ant task fails to run Air-based tests
Folks, I am using FlexUnit4.1 Beta 3 and am seeing the <flexunit> Ant task fail when running tests that use the Air libraries. The project in question used to test just fine with version 4.0...
View Articleflexunit failed on "command not unterstood"
I use Ant to compile tests and generate reports, and the compile phase succeeded, but the <flexunit> failed, the error log following: java.util.concurrent.ExecutionException: command...
View ArticleAsync loading of test swf is never caught by listener
Hi all, I'm really struggling getting a testing structure in place. I need to test a sub-swf which gets loaded into a range of main applications and its methods are then invoked. Therefore, I want to...
View ArticleNew (4.1) problem with headless (X11) execution
Hi! We're trying to fix a problem with the FlexUnit4AntTasks that seems to be caused by updating to flexUnitTasks-4.1.0-1.64.jar The symptom we see looks like the xvnc process is being terminated...
View ArticleHow populate itemrenderer items with data.
How populate itemrenderer items with data. Ie after my app starts I generate an array collection that I want to assign as the data provider to each combobox in my item renderer, which im using in a...
View ArticleFlash Builder 4 does not seem to recognize unit tests
A colleague has an FB4 library project with unit tests. When he tries to "Execute FlexUnit Tests" from the right-mouse-button menu, FB4 acts as if it's scanning the project for unit tests (a...
View ArticleRunning unit tests from ant: flashplayer window remains open
I'm trying to run flex unit tests from ant but I can't get the flashplayer window to close afterwards. What am I doing wrong? <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"...
View ArticleFU4.1RC2 - "invalid application descriptor" when using AIR 2.5
Folks, I discovered today when attempting to use AIR 2.5 with FlexUnit4.1 RC2 that you will get the following error when adl.exe is invoked: [flexunit] Setting up server process ... [flexunit]...
View ArticleFU4.1RC3 - Use of fluint classes causes compile errors
FlexUnit developers, Has FlexUnit now ended its backwards compatibility with fluint? Wth older versions, I could compile the following successfully: import...
View ArticleFlexUnit not generating TestRunner.swf when compiled with Hudson / Ant
I've been dabbling with FlexUnit (4.1 RC2) and CI under Hudson. To that effect, I chose to test the server configuration with the sample CI project that comes with the 4.1 RC2 distribution of FlexUnit,...
View ArticleI am beginner in Flex unit ,Is there any difference in funtionality between...
I want test login page using flexunit to check whether its allowing unautherised access , how can i do that ,, please explain step by step .. its very urgent .. thanks
View ArticleHow to use TestRunnerBase in pure AS3 / no MXML
Hi,is there a way to use the testRunnerBase GUI for a pure AS3 project, without a mxml? Thank you
View ArticleStatus of Code Coverage in FlexUnit?
Just curious if there is any update on this thread from almost a year ago: http://forums.adobe.com/message/2994338 We would really, really, really like to generate Cobertura-style reports from our...
View ArticleFU4CIListener build.xml not setting properties?
I am following the Ant Task Setup. I have flex sdk 3.6.0.X, apache-ant 1.8.2 and the flexunit source 4.1.0. When I run > ant -v clean packagefunction(){return...
View ArticleTesting Application Components
I'm not sure if you are aware, but it is currently very difficult to test spark Application components using FlexUnit and the UIImpersonator. An application component can't simply be added to...
View ArticleHelp using FlexUnit with Nant
Hi, I created some tests which run perfectly if I use my IDE (FlashDevelop) to run them. I've been trying to create a Nant script to automate my tests and have the results written into an xml file....
View ArticleBeforeClass(async) handler assertion
package { import flash.events.TimerEvent; import flash.utils.Timer; import org.flexunit.Assert; import org.flexunit.async.Async; public class SomeTestCase {...
View ArticleErrors building flexunit tasks using ant
HiI am having trouble while trying to run flexunit tests through ant script I have searched all over the internet but cannot find anything helpful. For my project I am using Flash builder 4.6 and flex...
View ArticleSupplying parameters in a request to run a parameterized request?
Hi all, I was wondering if there was a way to include the parameters to pass to a parameterized test in a request to run that parameterized test. If a test is parameterized, adding the request returned...
View ArticleDoes FlexUnit 4 support the old naming conventions?
Does FlexUnit 4 support the old naming conventions for testMethods, setUp and tearDown(), as an alternative to the new metadata? If not, please consider it. It would be much less work to migrate older...
View Article