How to test an HTTPService call with FlexUnit 4?
Could somebody suggest a good approach to testing a code that invokes an HTTPService? The call to the HTTPService might produce a result or a fault. How should I register result and error handlers with...
View ArticleFlex Unit -Async Test for Remote Class
Hi all, I am new to flex unit , i need to write testcase for class which contains multiple of remote object request.Can yo help me guys with any sample. Thanks karthy
View Article4.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 ArticleCode coverage and theory testrunner
Hello evrybody, I am currently testing an application and are using several different versions of tests for it. One block of tests are theory testcases. Last week I managed to use the Adobe code...
View ArticleANT Build script failing while generating junit style reports
Hi, Actually I got an ANT build script which does the following:1) compiles AS code and generates swc2) generate AS docs3) compiles flex unit reports4) Generate wrappers the last part is getting the...
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 ArticleActionScript Project
I have an ActionScript Project and I have been running unit tests using the FlexUnit 4 integration in Flash Builder 4 Beta 2. These have been working great until I try to use UIImpersonator, which uses...
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 ArticleTrouble Building FlexUnit 4
Hi all, I downloaded flexunit 4 from github and am trying to run "ant -v clean package" as it says to do in the build.xml file. I am getting a failed build I believe with the following error: BUILD...
View ArticleFlexUnit4.1 B2 upgrade breaks CI system - flexUnit.cfg issues?
Folks, We have a working CI system which is currently using binaries from FU4.0 development snapshots. When we last checked the releases page, we saw that 4.0 stable was out, but so were 4.1 Beta 1...
View ArticleError while running Parameterized test
Hi, I'm currently working on a really simple Parameterized TestCase. I'm using flexunit 4.0-rc1 and flexmojos 3.5.0. When I do 'mvn clean test' I get the following error: <testsuite errors="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 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 ArticleTesting with PopUps?
I have a need to write a test that involves validaing correct functionality of components that are displayed within PopUps. I feel like I'm missing something obvious, but what I am seeing is that the...
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 ArticleSpark Classes and Skins not being included when running FlexUnit task via Ant
I have a series of unit tests that run on a spark component. This spark component has a custom skin defined for it, and that is working beautifully. Inside that component is a spark list... By default,...
View ArticleMockito problems - Please make sure you specified a call to stub in given
Mockito problems - Please make sure you specified a call to stub in givenHello, I'm trying to get a handle on mocking w/ Mockito to and I keeping getting this error:"Please make sure you specified a...
View ArticleSequence Runner and Signals
I've got a unit test where I want to test reading from a local sqlite database. Obviously I need to write a record before I can read it. I've written the sequence below but I'm getting an...
View ArticleFlash Builder "unknow FLex SDK Flex Hero" problem(urgent)
Dear all, I developed my mobile andriod game in the flash builder burrito and suddenly I can't open it because of this error "Licensing for this product has expired"so I installed flash builder 4.5...
View ArticleEventfulTestCase in FlexUnit 4?
Has EventfulTestCase been deprecated/removed? I can't find it in the source or latest download, but it's in the version of the SWC that I have. Thanks,Ruprict
View Article