Hey all,
I have a Flex3 project I am trying to add unit testing to. Currently using
Flashbuilder 4.5 Pro. I am using the IDE-provided stub generators to do this.
I took my real project out of the equation, and made a Flex 3 project with an
app and one static function I wish to test. I
Hi!
I'm triing to set up a test enviroment for a big app. 3 class use Stage.
Anybody knows how can I make the stage non null in flexunit? or how to
substitute it?
thanks!
Gabor
Hi everyone,
I noticed that flexunit generates a bunch of XML files I was wondering if
anyone knows of any plugins or toolsets that can be used to generate a web page
from all of the generated files. That way I can quickly see all of the tests
that failed and passed.
Thanks!
Hello all. I am using Flex 4 and am trying to do My First FlexUnit Project :)
following the instructions at:
http://docs.flexunit.org/index.php?title=Setting_up_a_FlexUnit_4_Project
It appears that org.flexunit.listeners.UIListener does not exist in the
FlashBuilder 4 Professional
Do you want to do it because you want to test handler method? If so, why not
call straight handler method?
On 09/06/2010, at 07:36, NagendraP wrote:
hi
I have a button in my view which is listening to the mouse click.
Im my flex unit test function, i am creating mouseevent object and
hi
I have a button in my view which is listening to the mouse click.
Im my flex unit test function, i am creating mouseevent object and then
dispatching the event on the button object.
this is not working when i run the flex unit cases.
Any one to throw more light in simulating the
Hello :)
I 'm currently doing units test for my application developped on Flex.
I would like to know of anybody has used fluint
http://code.google.com/p/fluint/ before ??
Do you know it's better to use FlexUnit or fluint ??
Do you know the advantages of fluint
Do you have informations
Hello :)
I am doing unit tests to my application using FlexUnit:
http://docs.flexunit.org/index.php?title=Main_Page
when i run the testRunner, all my components User interface are null. I have to
run my application and then run the testRunner.
I tried to run my application in a browser and
Hello :)
I would like to know if any body has used FlexUnit to test an application which
used the framework Cairngorm ??
I found Flunit http://code.google.com/p/fluint/
Do you think it is better please ??
Any person has tried it before ??
Thanks
To: flexcoders@yahoogroups.com
From:
Hello,
I'm working in a project with FlexUnit, Ant and Bamboo as continuos
integration tool, have you ever try to do this? How is the ant tasks that
you need to Run? How the FlexUnitTestRunner works in the servers (because
always open the browser for running the tests)? Do you have any
Anyone know if there is a way using the FlexUnit API to output a custom
message from a TestCase.
I can use fail( a message ); but then it says a particular test failed in
my unit test results. I just want to add a message to the results, without
saying it failed or there was an error.
Thanks,
I'm using Flex 2.0.1 SDK, and I have a class that extends mx:DataGrid.
One of the methods in my class is dependent on listItems which is a map of
item renderers.
I'm trying to test my method with FlexUnit, but I can't get listItems
populated so the test can't really
check anything.
In my
Does anyone have an example of using FlexUnit's addAsync() call with a
service method that takes an IResponder, rather than firing events?
Thanks.
Hello,
We have an application that uses Cairngorm Framework and our backend is
Seam and GraniteDS. I started writing some unit tests using Flex Unit. I
modified the Flex unit TestCase to handle async calls made by Cairngorm.
When I build and automate these test cases using Antennae backend
Hi,
FlexUnit is showing error in my test class for
stage.showDefaultContextMenu = false;
Please let me know, if you experienced this kind of error
Thanks in advance,
Vinoth
hello i have to integrate Fleunit testing into an existing/ongoing
project that have classes calling webservices. Those classes have two
types that methodes that are both declared like this override
protected methodname. I would like to know how one should proceed to
have a testcase on those
Is anyone currently using FlexUnit to test a Cairngorm app? I have
some questions about how best to set this up.
Thanks, Kevin
Apparently I am completely moronic. It's been a while since I did any Flex
work, and I started up a new workspace. I've checked out as3corelib and
as3flexunitlib from the repositories, and each is in a Flex Library Project,
as the incomplete, out-of-date as3corelib wiki recommends. Hooray.
How do
Hi. I try to do some tests cases with Flexunit, but i´m having a problem:
When run my test the flash debug show that the assert fail, but in the
test console the test status is SUCESS.
What i´m doing wrong?
Help?
Just posted on my blog about this:
http://www.brightworks.com/flex_ability/?p=39
Thanks again, Angus.
Douglas McCarroll wrote:
Thanks, Angus!
Angus Johnson wrote:
Douglas,
One way to test for failure:
try
{
... // code that should throw exception
fail('Exception was not
Hi All,
I'd like to write FlexUnit tests that confirm that certain things cause
my code to throw errors.
assertError(), so to speak.
I don't see any way to do this. Is there a way?
Thanks in advance!
Douglas
-
Douglas McCarroll
Flex
Douglas,
One way to test for failure:
try
{
... // code that should throw exception
fail('Exception was not thrown');
}
catch
{
// test exception type / message etc is what is expected
}
hth
Angus
On 31/05/07, Douglas McCarroll [EMAIL PROTECTED]
wrote:
Hi All,
I'd like to write
Thanks, Angus!
Angus Johnson wrote:
Douglas,
One way to test for failure:
try
{
... // code that should throw exception
fail('Exception was not thrown');
}
catch
{
// test exception type / message etc is what is expected
}
hth
Angus
On 31/05/07, *Douglas McCarroll*
I'm attempting to write Flexunit test cases to test some mxml
components I've written. I've gotten addAsync to work for testing that
creationCompoete happens but further events simply aren't being fired
on the component no matter what I do. Are there any howtos or best
practices out there for how
Hi All,
I have a problem reading a sequence of 5 xml files (test1.xml,
test2.xml etc.) in my flex unit test... I need to read these files
and validate info in each of them... Looks like this conflicts with
using addAsync() calls.
I have the following code in my test class:
Hi all,
sorry for this slightly OT message.
I was wondering what the best way is to test for a method throwing an
error. I have an Account class that takes a number:int and a
name:String as constructor params. If an Account is instantiated with
a null name, I want to throw an Error
] On
Behalf Of herrodius
Sent: Wednesday, January 17, 2007 11:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flexunit] - How to test throwing errors?
Hi all,
sorry for this slightly OT message.
I was wondering what the best way is to test for a method throwing an
error. I have
Hi,
I have a Flex2 application built on cairngorm, with AMFPHP for business
delegates.
I want to test unit Cairngorm flows for example when the user click a login
button.
It creates a Cairngorm Events that calls a command that delegate to
business, and so on.
I m pretty new with test unit so I
Does anyone know when Adobe plans to release a production version of
FlexUnit?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
* To visit your group
: [flexcoders] FlexUnit
Does anyone know when Adobe plans to release a production version of
FlexUnit?
--
WARNING
---
This electronic message and its attachments may contain confidential,
proprietary or legally privileged information, which is solely for the use of
the intended recipient
fyi, I just added a link on the FlexUnit page on labs to your article.
mike chambers
[EMAIL PROTECTED]
On Oct 30, 2006, at 3:50 PM, Dimitrios Gianninas wrote:
Ya its kinda weird that its on a labs website, but I consider it
production version. Its like Cairngorm, its production software,
Hi everybody,
Does anyone have an example of using FlexUnit with async requests made to the server? Is there a way of testing existing flex application? How do you usually test yours?
Thanks
Dima
__._,_.___
--
Flexcoders Mailing List
FAQ:
Hello Beverly,
I haven't gotten any answers yet. I'm hoping someone has the answers.. :)
We had recompiled locally FlexUnit SWC file out of AS source files
available at
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries#FlexUnit
and this particular error that you
Thanks, that's actually a great ideaand it works now without copying the source files. It's just that I kind of thought the pre-packaged swc file would actually work... :) Anyhow, it's all good!
On 7/11/06, Andriy Panas [EMAIL PROTECTED] wrote:
Hello Beverly,
Ihaven't gotten any answers
I have the same problem.
Any solution ?
2006/7/5, Beverly Guillermo [EMAIL PROTECTED]:
Hello everyone,
I have been really trying to findto work out this problem and even tried searching for theanswerthrough the flexcoder archives and through Google/Ask but have not yet found any
Ihaven't gotten any answers yet. I'm hoping someone has the answers.. :)
On 7/7/06, Michael BADEN [EMAIL PROTECTED] wrote:
I have the same problem.
Any solution ?
2006/7/5, Beverly Guillermo [EMAIL PROTECTED]
:
Hello everyone,
I have been really trying to findto work out this
[mailto:flexcoders@yahoogroups.com] On Behalf Of bchirgwin
Sent: Tuesday, 4 July 2006 3:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlexUnit,
Web Service
I have a web service I am trying to write and test a web service using
FlexUnit.
I write the test that FlexUnit I add the a testsuite
I tried adding the asserts in the handler. If the asserts fails, it causes a
crash of the application. I tested this by making forcing an assert fail. It
seems, since the handler is not part of the test suite, the FlexUnit is
crashing (on failure only). Must be looking for the test that is
I have a web service I am trying to write and test a web service using
FlexUnit.
I write the test that FlexUnit I add the a testsuite, but I can't test
(assert) the results, because the web service doesn't immediately
return a response. I have dispatched an event and tried asserting
results
Hi, I'm trying to use for the first time flexUnit for Flex 2. I read
Darron Schall article about it http://www.darronschall.com/weblog/
archives/000216.cfm.
I'm wondering why we have to write such code in every test case
public static function suite():TestSuite {
var ts:TestSuite = new
Hi Max,
Monday, June 12, 2006, 1:15:13 PM, you wrote:
mh ts.addTest( new TemperatureConverterTest( testToFarenheight ) );
mh ts.addTest( new TemperatureConverterTest( testToCelsius ) );
I think, it is just a naming convention selected (which can be
overriden by anybody, why not) in Adobe to
what he is asking is wether naming a function starting with test will
automatically add the test to be run as it does in most unit test
frameworks. i know asunit (for as3 as well) does this.On 6/12/06, Andriy Panas [EMAIL PROTECTED] wrote:
Hi Max,Monday, June 12, 2006, 1:15:13 PM, you
Hi,
I am just trying FlexUnit
(http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:lib
raries#FlexUnit) like in the example by Darron Schall
(http://www.darronschall.com/weblog/archives/000216.cfm) and I get the
following error:
ReferenceError: Error #1065: Variable
1.5 or 2.0? In 1.5 it's harder to set up, in 2.0 did you look at the
AsyncHelper stuff?
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of posttoumesh
Sent: Friday, March 10, 2006 4:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders
I am using FlexUnit framework to write a test case to make a call to a
remote service(java function) the test case runs fine,talks to server
and returns but I am not getting result back in the client.
--
Flexcoders Mailing List
FAQ:
Is there a version of Flexunit for Flex 2 or will Flexunit 0.9 work with Flex 2?
Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Hello Flexcoders,
Has anyone been able to get the FlexUnit test runner working
along-side a flex application? Basically I would like to run tests against a
loaded application.
I tried putting the test runner into a TitleWindow and
then open the title window via a pop-up. When the
Please give me the information about FlexUnit..and also tell me it is for frontend testing or backend testing.
ThanksRegards
Harinath K
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Hi All,I have downloaded Flexunit0.9 and done sample application i.e TestMoney.as...and got results fine.But when I am doing with Caingorm framework ,i have bit confused..for which classes i need to test..is it for Viewhelpers or Commands..And my main question is,Flexunit is for frontend
49 matches
Mail list logo