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

EventfulTestCase 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 P.S.  I moved this from the FlexUnit...

View Article


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


Async tests and Assert throws exceptions

Hi, In a regular non-async test, something like Assert.assertEquals( "apples", "oranges" ); gives a nice report that the strings didn't match.  The test fails and the suite continues and all is good....

View Article

How to get the current execution testname?

Hello, I was wondering if it is possible (well it should be somehow) to get the name of the current execution test.For example when I use FlexUnit 3 (0.90) then I have to extend the TestCase class and...

View Article

Running FlexUnit tests from command line

Sorry if that has been posted before: I searched best I could and nothing came up. I am interested in building and running my unit tests from the command line so we can add it to a nightly build...

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

Image may be NSFW.
Clik here to view.

Can't run unit test with "Execute FlexUnit Tests" in the FB4

Hi folks:     I create some unit tests in my project,the test.swf execute correctly if I compile them and run it by ant.But once i ran every single file by "Execute FlexUnit Tests" in my IDE,I found...

View Article


FlexUnit 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


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

Need FlexUnitTasks.jar file

Hi, I'm currently using Flash Builder 4 with the incorporated FlexUnit distribution.I can run the FlexUnit tests within Eclipse, but now I am trying to run thesetests using ANT. To do this, I found...

View Article

flashUnit

is there an officially supported flashUnit, or must we only unit test flex applications?

View Article

FlexUnit 4 test cases running sequence problem

Hi All, I am facing some problem in running my test cases in sequence in FlexUnit 4. Suppose i am adding the test case class in my main MXML.  public function runMyTest():void            {...

View Article


AIRCIListener + flexUnitTasks.jar fails on Windows

When I try to run flexunit with the AIRCIListener I get:BUILD FAILEDC:\...\build.xml:245: Error launching the test runner. My Ant target looks like this:<target name="test"...

View Article

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


overridden [Before] function doesn't get called in Flex4

Here's my setup TestBase.aspublic class TestBase{     [Before(order=1)]     public function setupBase():void {          // base setup     }      [Before(order=2)]     public function setupTest():void {...

View Article

java.lang.NullPointerException running ant task in 4.1 Beta 2

Hello, After trying to debug this all day, I thought I would ask the community.  I am trying out the new FU4.1 Beta 2 (3.5) from the downloads page.  We have a working CI system set up with 4.0, and I...

View Article


How to make compilation faster?

Hi, I have a test project with one test.Every time,I  click "Execute FlexUnit tests",the progress bar shows "launching flex  unit".It takes almost 1-2 minutes.Why is it so? Can I do something about...

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

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


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