[flexcoders] FlexUnit not working

2012-12-04 Thread flexwdw
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

[flexcoders] flexunit stage

2012-01-30 Thread Csomák Gábor
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

[flexcoders] FlexUnit - Generated XML

2012-01-05 Thread cuttenv
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!

[flexcoders] FlexUnit

2010-06-17 Thread libbychantel
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

Re: [flexcoders] Flexunit and button click simulation

2010-06-10 Thread Marco Catunda
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

[flexcoders] Flexunit and button click simulation

2010-06-09 Thread NagendraP
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

[flexcoders] FlexUnit or fluint ?? which the best ???

2010-03-10 Thread Nini7016 Nini7016
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

[flexcoders] FlexUnit + UIComponents

2010-03-10 Thread Nini7016 Nini7016
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

[flexcoders] FlexUnit and Cairngorm ?

2010-03-09 Thread Nini7016 Nini7016
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:

[flexcoders] FlexUnit + Ant + Continuos Integration

2010-03-06 Thread M. Fernanda Gioiosa
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

[flexcoders] FlexUnit print message

2008-11-17 Thread Anselm Bradford
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,

[flexcoders] FlexUnit, DataGrid and listItems

2008-09-10 Thread Glenn Jones
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

[flexcoders] Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
Does anyone have an example of using FlexUnit's addAsync() call with a service method that takes an IResponder, rather than firing events? Thanks.

[flexcoders] FlexUnit + Cairngorm + Antennae

2008-07-16 Thread Pratima Rao
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

[flexcoders] FlexUnit error while using stage

2008-06-27 Thread Vinoth Babu
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

[flexcoders] Flexunit and Protected or Priovate method

2007-11-16 Thread exuperok
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

[flexcoders] FlexUnit Cairngorm

2007-09-26 Thread Kevin
Is anyone currently using FlexUnit to test a Cairngorm app? I have some questions about how best to set this up. Thanks, Kevin

[flexcoders] FlexUnit/CoreLib testing

2007-09-14 Thread Mark Hawley
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

[flexcoders] Flexunit

2007-09-10 Thread Alcatraz
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?

Re: [flexcoders] FlexUnit asserError()?

2007-05-31 Thread Douglas McCarroll
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

[flexcoders] FlexUnit asserError()?

2007-05-30 Thread Douglas McCarroll
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

Re: [flexcoders] FlexUnit asserError()?

2007-05-30 Thread Angus Johnson
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

Re: [flexcoders] FlexUnit asserError()?

2007-05-30 Thread Douglas McCarroll
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*

[flexcoders] flexunit and mxml components

2007-05-19 Thread Jedi_92
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

[flexcoders] FlexUnit: reading xml files sequentially using HTTPService and addAsync()

2007-04-18 Thread emonte555
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:

[flexcoders] [Flexunit] - How to test throwing errors?

2007-01-17 Thread herrodius
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

RE: [flexcoders] [Flexunit] - How to test throwing errors?

2007-01-17 Thread Stembert Olivier (BIL)
] 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

[flexcoders] FlexUnit for testing a cairngorm application

2006-12-22 Thread Philippe
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

[flexcoders] FlexUnit

2006-10-30 Thread flack_gary
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

RE: [flexcoders] FlexUnit

2006-10-30 Thread Dimitrios Gianninas
: [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

Re: [flexcoders] FlexUnit

2006-10-30 Thread Mike Chambers
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,

[flexcoders] FlexUnit usage examples

2006-09-28 Thread Dima Ulich
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:

Re[2]: [flexcoders] Flexunit Help Req, the TestRunnerBase/startTest() gives TypeError

2006-07-11 Thread Andriy Panas
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

Re: Re[2]: [flexcoders] Flexunit Help Req, the TestRunnerBase/startTest() gives TypeError

2006-07-11 Thread Beverly Guillermo
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

Re: [flexcoders] Flexunit Help Req, the TestRunnerBase/startTest() gives TypeError

2006-07-07 Thread Michael BADEN
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

Re: [flexcoders] Flexunit Help Req, the TestRunnerBase/startTest() gives TypeError

2006-07-07 Thread Beverly Guillermo
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

RE: [flexcoders] FlexUnit, Web Service

2006-07-05 Thread Bjorn Schultheiss
[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

RE: [flexcoders] FlexUnit, Web Service

2006-07-05 Thread Brian
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

[flexcoders] FlexUnit, Web Service

2006-07-03 Thread bchirgwin
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

[flexcoders] FlexUnit question

2006-06-12 Thread maxym.hryniv
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

Re: [flexcoders] FlexUnit question

2006-06-12 Thread Andriy Panas
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

Re: [flexcoders] FlexUnit question

2006-06-12 Thread Johannes Nel
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

[flexcoders] FlexUnit error

2006-03-27 Thread Sönke Rohde
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

RE: [flexcoders] FlexUnit test case not returning result from service call

2006-03-12 Thread Matt Chotin
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

[flexcoders] FlexUnit test case not returning result from service call

2006-03-10 Thread posttoumesh
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:

[flexcoders] Flexunit for Flex 2

2006-02-06 Thread Chris Velevitch
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:

[flexcoders] FlexUnit Test Runner inside of a flex application

2005-10-11 Thread Allen Manning
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

[flexcoders] FlexUnit

2005-09-29 Thread hari.ibs
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:

[flexcoders] FlexUnit

2005-09-29 Thread hari.ibs
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