Unit testing or integration testing?
Here it says that this example is more of an explanation of framework than best practice because of the conflation of integration/unit testing concepts:...
View ArticleDoes FlexUnit4 Cache Tests? Tests Are Not Updating
Hi. I'm running FlexUnit4 within a Flash Builder 4 project (using Flex 3.5). The application I am testing is pure AS3. To sum it up, FlexUnit seems to be running "old" tests. If I create a Class Test,...
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 Articleitem close event is triggering twice for Advanced Data Grid
HI, I'm using AdvancedDataGrid for my project. My issue is when click on item close, the item close event is triggering twice. Why it is triggering twice? Thank you...
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 ArticleCompatibility of flexunit 4.x with browser
Does the flexunit 4.x version supports different browsers like internet explorer 8.0 , 9.0 and firefox ?
View ArticleFU Ant task failure: java.util.concurrent.ExecutionException: could not close...
We sometimes see this failure intermitently when using the FlexUnit Ant task to run tests in a CI environment. The Ant task throws this exception: java.util.concurrent.ExecutionException: could not...
View ArticleFocusManager in FlexUnit4?
I'm trying to write just a simple test ensuring that a TextInput control has focus when a component is loaded. However focusManager is null even after I've used the UIImpersonator class to setup my...
View ArticleBetter UI for Unit Tests
I've been doing a lot of unit tests lately. Right now I'm working on a code converter Air app and I'm constantly creating unit tests for bugs I'm finding and running them, and debugging them when they...
View ArticleFlexunit on a headless mac server
Has anyone successfully ran flexUnit on a headless mac?im running ant builds via Jenkins, it will build a flex app no problem, however when I try to build the sample flexunit CI app I get the followin...
View Article[Test(expects="Error")] not functioning as expected
When testing against implementation code which is expected to throw an exception the test fails even when the expected exception is thrown. I broke this test down into a very simple example to help...
View ArticleBuilding on headless linux
Hi I am trying to run my flexunit4 tests on a headless linux bamboo CI server. I have got xvfp that runs the flashplayer for me. I am using flashplayer 10 for linux. My problem is that the build...
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 ArticleUnit tests Cannot access a property or method of a null object reference. at...
When running my unit tests i'm getting this error: Cannot access a property or method of a null object reference. at mx.validators::Validator$/validateAll()[E:\dev\4.x\frameworks\project...
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 ArticleWhat causes "Error saving report" error?
HiI am trying to generate the junit style test results using flex unit. The error log is: Buildfile: c:\Code\unittests\src\build.xml init#: [delete] Deleting directory c:\Code\unittests\src\reports...
View Articleparallel execution of multiple test cases.
Does flex unit 4.x version supports for parallel execution of multiple test cases? Any help will be greatly appreciated.
View ArticleWhich is a more recent version of FlexUnit: flexunit-4.1.0-8 or...
Which is a more recent version of FlexUnit: flexunit-4.1.0-8 or flexunit-4.1.0_RC2 ??
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 ArticleParamaterized Testing Issues
Hi I'm new to unit testing so I've been having issues...I am trying to run tests with parameters and I have fixed the errors up to here by browsing the net, but I can't find why this isn't...
View Article