RE: [flexcoders] FlexUnit, Web Service
Besides dummying the webservice result can you place the assert in the handler. I am interested in this and will run some tests myself later on. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [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, 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 in the dispatched event, but this causes an error in the console as asserts are being performed outside of a test. Any help would be appreciated. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] FlexUnit, Web Service
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 running (or something) and since it isn't, it fails. I did recompile FlexUnit to work with Flex Release (wouldn't work without some changes). Maybe there are other changes required as well. I am new to Flex, so I could very well be doing something wrong. On Wed, 5 Jul 2006 17:09:27 +1000, Bjorn Schultheiss wrote: Besides dummying the webservice result can you place the assert in the handler. I am interested in this and will run some tests myself later on. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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 on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/