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

FlexUnit + AIR + Ant?

Is the ant <flexunit> task compatible with AIR? My AIR app uses a SQLite database and some of my integration tests will create a sample database and needs to use the File object in the AIR SDK....

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 assertionsMade statement validity

Hello,Is the following FlexUnit Assert program statement valid? Assert.assertEquals(Assert.assertionsMade, 0); The flex4sdk_b2_100509 compiler reports an error. Thanks,A FlexUnit and ActionScript newbie

View Article

Can not run flexunit tests from ant

Hello,I'm trying to script test execution in order to integrate tests in Jenkins. I followed the wiki article here http://docs.flexunit.org/index.php?title=Ant_Task The tests run successfully with...

View Article

Setting compiler options when running unit tests

Hi, When I'm running unit tests from flash builder, is there a way to define compiler options? For example, I would like the compiler to ignore warnings and possibly set strict typing off. Thanks,Gilles

View Article


Image may be NSFW.
Clik here to view.

Async loading of test swf is never caught by listener

Hi all, I'm really struggling getting a testing structure in place. I need to test a sub-swf which gets loaded into a range of main applications and its methods are then invoked. Therefore, I want to...

View Article

Error in assertEquals

Hi Everyone, I tried a simple example with timer event and once it gets complete , i call a function to check my assert. There is a for loop which checks for all the assert, but i get an error in that...

View Article

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


FlexUnit4 - Tests run but runner has to be manually closed and no reports...

I am trying out FlexUnit4 and using ant to build the tests. I built my ant script on the one from the FlexUnit4SampleCIProject.The test from that project run, the runner automatically closes and the...

View Article


Error with SwfLoader and new application domain

Hi I have a test with a SWFLoader loading an application in a different application domain.Test with SWFLoader is ok when you load the application in the same application domain but when I want a new...

View Article

flexunit 4 fails for me

I am simply running an Assert.assertTrue call and it says it fails, here is my code:package sampleSuite.tests {     import org.flexunit.*;     public class TestCase1     {          [Before]...

View Article

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

FlexUnit 4.1 RC1 - adl.exe hangs and is not killed when timeout exceeded

I am running AIR based tests using FlexUnit 4.1 RC1. I have the "timeout" parameter of the FlexUnit Ant task set to 45 minutes (2700000 milliseconds).  I expect that if this threshold is exceeded, the...

View Article


flexunit failed on "command not unterstood"

I use Ant to compile tests and generate reports, and the compile phase succeeded, but the <flexunit> failed, the error log following: java.util.concurrent.ExecutionException: command...

View Article

TestRunnerBase compile error FX3 FU4

I am getting a compile error. Using FlexBuilder3 (3.4.1 SDK).FlexUnit 4I have the 5 swc files in my project's lib folder.Here is my code:<?xml version="1.0"...

View Article


FlexUnit4 user interface

When I run a series of tests and one (or more) fails, is there a way to tell the user interface the expected and actual result?

View Article

Paramaterized 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


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

I am writting a test using a sequencer to test for multiple button click

I'm using flex sdk 4.1 and have a situation where a  button click is sometimes called twice. I am writting a test for this using a sequencer and it will run for at least one button click, what I am not...

View Article

Testing a service that returns an AsyncToken

I have a working test that tests a service that returns an AsyncToken. I am using AsyncResponder instead of any of the Aysnc Flexunit stuff. Is this OK? One thing I don't get is that the...

View Article
Browsing all 25673 articles
Browse latest View live


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