UIImpersonator tests work in FlashBuilder, but not when run from Ant
I'm in the process of converting a Flex 3 project to use FlexUnit4 tests.Everything compiles in Flashbuilder 4.5 and runs nicely. I've converted all the teststo use flexunit 4, which highlighted a few...
View ArticleFlexUnit 4.1 Error #1009 on Running Test Suite.
Hi Mike, I've not seen this problem with FlexUnit 4.1 before and it's got me a bit stumped :S All my tests error with the following stacktrace in the generated TEST.xml file: <testsuite...
View ArticleFlexunit + Parsley - re-creating error: "Object of type is already managed"
Hello, This may sound a bit strange but I'm trying to force an "Object of type is already managed" error to recreate a bug we had in our app for flexunit testing purposes. The problem arised...
View ArticleproceedOnEvent() timeout waiting for creationComplete
Hello, I have a test case that will not run due to proceedOnEvent not seeing the desired event. Here's the test code: package com.mine.components.buttonBar{ import flexunit.framework.Assert;...
View ArticleTesting asynchronous callback functions
I have been creating a test suite for an API that my company has been developing and have run into a bit of a snag trying to create tests for a couple of our async callback functions. I have tested a...
View ArticleBetter Async testing?
I've been doing a lot of async service testing lately and I'm trying to figure out the "correct" way of doing things. Imagine I have a simple backend with just two methods: createTeam() and...
View ArticleReceiving trace()-statements in the TestRunner
First of all I would like to say I am totallynew to the use of unit testing in general. I am currently evaluating FlexUnit and using the TestRunner.mxml for running the tests. I am only curious how I...
View ArticleFlexUnit 4.1 Beta 1 turnkey project doesn't build
Getting the following error after setting up the project: Could not resolve <flexUnitUIRunner:TestRunnerBase> to a component implementation. flexunit-test/src FlexUnit4Turnkey.mxml line...
View ArticlePassing extra compiler options to ANT task?
Hi, Is there a way to send any extra compiler options to the <flexunit> ANT task?I'm using conditional compilation and compilation (mxmlc) is failing from the <flexunit> task: "Error:...
View Articleflexunit stage null reference
I am trying to test some of my AS classes in flexunit. Some of the methods reference the stage from components that are passed to it. When I set up the flexunit testing application I use the following...
View Articlefirst flexunit test is always failing with Error Error #1009: Cannot access a...
Hi, I have flexunit project which I am trying to run on linux server. 1. I have Tests project.2. I am trying to compile it on linux server and creating Tests.swf file and then executing Tests.swf using...
View ArticleFlexUnit is working with FlashBuilder and not working with Build file
Hi I have few flexunit test cases . When I am running those testcases from Flashbuilder FlexUnit plugin I am able to run all the testcases and when I run Build file to run those testcases , build file...
View ArticleWhat does FlexUnitCompilerApplication.mxml do?
FlexUnitCompilerApplication.mxml is generated by Flash Builder Beta 2, not sure why. It contains this code, which declares a variable but doesn't do anything else: <?xml version="1.0"...
View Articlehow to access stage in flexunit
I've found in the following post (http://forums.adobe.com/message/2371850#2371850) some suggestions about this topic, but as I'm relatively new to as3, I'm still confused about how to make it work. My...
View ArticleFlexUnit 4.1.0-8 Error 1046
Hi, I'm using Eclipse Gallieo on Mac OS 10.6.8 with the Flash Builder 4 plugin. My project is using the Flex 4.5.0 SDK and I recently updated FlexUnit from 4.0 to 4.1.0-8. Now when I compile I get...
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 ArticleHow to extend flash player session timeout?
Folks, We have a set of FlexUnit tests that are taking a long time to complete (there are a LOT of tests in the suite). After about an hour, the standalone flash player pops up a message warning that...
View ArticleStrange behaviour when running parameterized test
Hello,I am using Flex 4.5 and FlexUnit 4.1 inside of the Flashdevelop IDE and I am experiencing some very strange behaviour. If I have 5 parameters to my test the test runs fine. When I add a sixth...
View ArticleCan I use this with Flex 3 ?
I get a compile error with the FlexUnit 4 meta tags, like [Test]Can I use FlexUnit 4 with Flex 3 ?
View ArticleFlexUnit CI - Flash Player linux installation
I am now attempting to do some CI testing with the FlexUnit Ant task on the Linux platform, specifically RHEL 6 (x64). I am finding the installation of the Linux debug stand-alone player not as...
View Article