Async Integration Testng
I have looked through the forums and also search Google, but I cannot seem to find a solution that fits. I am doing integration testing using FlexUnit 4 with a Swiz framework for events. I ran my code...
View ArticleHow 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 ArticleHow to use SequenceRunner with FlexUnit 4
Hi, I just read the Wiki page about Fluint Sequences at http://docs.flexunit.org/index.php?title=Sequences#Sequences_from_Flui nt. I really would like to use sequences as it seems a great way to test...
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 ArticleAsync.asyncNativeResponder in place of Async.Responder?
I'm using 4.1 and the asyc class doesn't seem to have Async.Responder, so I tried this: token.addResponder(Async.asyncNativeResponder(this, onResult, faultHandler, 600)); but get an issue: Implicit...
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 ArticleCan 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 ArticleGetting Started
First time running flex unit - I get the error: VerifyError: Error #1014: Class mx.core::SpriteAsset could not be found. I'm trying to verify actionscript 3.0, not flex, so I'm not sure why this error...
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 ArticleHow 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 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 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 ArticleFlexUnit UI problem
Hello guys, I have 3 test class out of which 2 test class is fully passed. But the class which fails has 2 methods. In the failed class 1 method is failed and 1 is passed, but when i check in the...
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 ArticleOrdering Behavior in Test SubClasses
The ordering behavior between inherited test classes seems to have changed between FlexUnit 4 and 4.1 beta 2. Here is the order my test methods are running in:SubClass [After(order=9)]SubClass...
View Article"expectnot" or equivalent
I was wondering if we have something for automating an assertion for a specific error that should not occur, rather than the test failing. This would be the opposite of expects="Error...". This may...
View ArticleShow all tests during execution
Hello everyone! Now when tests starts FlexUnit window shows only failed tests. And I can see all tests only when all tests are complete.Can you suggest the way how to show all tests during running?...
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 ArticleFlexUnitTests in Flash Professional Project
Is it possible to run FlexUnitTests on a Flash Professional Project? (created within Flash Builder)I notice when I create a FlexUnitTest in my Flash Professional Project FlexUnitApplication.as and...
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 Article