Quantcast
Channel: Adobe Community : Popular Discussions - FlexUnit
Browsing all 25673 articles
Browse latest View live

How to create a TestRunner for FlexUnit 4?

I just started with FlexUnit 4 today and can already see the benefit of all of the new features.  I am a bit stumped on how to get the initial setup to work.  As far as I can tell, most of the...

View Article


CI issues on Linux - CentOS + Hudson

Hi there,I got some issues to generate the Junit reports, it gets up to "Waiting for client connection" then do nothing for a few seconds.When it gets back this is what I get in the...

View Article


FlexUnit XML reports lacking details

I have been working on integrating FlexUnit support into a CI framework at my company, and FlexUnit4's CI Ant tasks have been invaluable to me. So, kudos to the good folks here who have been working on...

View Article

Better 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 Article

FlexUnitApplication not being generated properly

I'm trying to use flexUnit, but I'm running into a problem. When I go to executeFlexUnit Tests, I encounter the compiler error: "Content is not allowed in prolog" The FlexUnitApplication.mxml file that...

View Article


org.flexunit.listeners.UIListener not found, and other problems

I have a basic setup of FlexUnit that comes with the latest FlashBulider. I import a bunch of SWC's in my project and try to follow instructions from here:...

View Article

How do setup FlexUnit in your CI build process on 64-Bit Linux

Hello everyone. I am trying to setup FlexUnit in my build process and am using Rackspace cloud servers for my build server. I only have the option of Linux 64 bit distros or Windows 32b/64b. I started...

View Article

Flex Unit failing to handle Async events

I have following classpackage{     import flash.events.Event;     import flash.events.EventDispatcher;      import mx.binding.utils.ChangeWatcher;      publicclass TestPresentationModel extends...

View Article


Error: Asynchronous Event Received out of Order

Hello, I'm developing a loader library in Flex that can do multiple requests in an intermittent or sequential order there given to the loader.  I'm getting the following error message from FlexUnit...

View Article


Providing a reference to the Stage in a Pure AS3 Environment

Hi All, I'm having real problems trying to get a reference to the Stage in FlexUnit 4.1 TestCases.  I am using the FlexUnit Ant Tasks to generate the TestRunner.mxml file which I have modified to...

View Article

Why fpdownload.adobe.com/crossdomain.xml

Why are my flex apps asking for this file on page load? http://fpdownload.adobe.com/crossdomain.xml

View Article

flexunit CIListener: Socket tiimeout waiting for flexunit report

For 2 weeks , I have trouble establising CI enviroment. My env :sdk : flex sdk 4.1ant : 1.8.2  I got the FlexUnit4SampleCIProject .and modified the build.xmlant then always get the error...

View Article

Sequence 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 Article


FlexUnit tests fail due to missing sound card on headless CI server

Hi,  I have set up Jenkins CI server with Xvnc to run FlexUnit tests during the build process.  Everything worked fine until I started working with Sound - now Flash Player is started, throws a bunch...

View Article

Code 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 Article


Help 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 Article

What 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 Article


How can i link between two or more test cases(with 1 Test suite) using...

Hi.How can i link between two or more test cases which i have written in the following manner.private function createSuite(suiteMethod:TestSuite):TestSuite                              {...

View Article

Is there a guide to running headless on Linux?

When I run the following build:  <target name="compile.client.test" depends="setup.test">     <mxmlc file="${client.test.src.file}" output="${client.test.bin.file}"               fork="true"...

View Article

FU4CIListener 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 Article
Browsing all 25673 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>