|
Mike,
Alistair McLeod wrote a tutorial to using FlexUnit *way*
back when, which you can find here:
The discussion of "testing UI components" is a different
one; generally, we would advocate that if something is testable, you try and
extract that functionality into ActionScript classes that can be individually
tested. If your testing requirements are at the "mouse click" level, then
you start to drift from the world of unit-testing to the world of automated
testing.
Hope this helps,
Steven
 |
Steven Webster Practice Director (Rich
Internet Applications) Adobe Consulting Westpoint, 4 Redheughs
Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338
6108
| |
Steven,
Is there any 'planned' tutorial like projects in the future
that really help those that semi-understand unit testing but are having a hard
time creating tests for components? IE UI components.
I have read in
the book 'Refactoring' about these tests but, swinging from an application
like test to component test seems to warp my head.
Peace, Mike
On 6/13/06, Steven
Webster <[EMAIL PROTECTED]>
wrote:
Maxim,
Our
implementation of FlexUnit behaves exactly as per JUnit - it automatically
finds all tests beginning with the word test, and runs them - no need to
explicitly name all your tests.
One of
our Adobe Consultants, Peter Martin, blogged about taking our preferred
workflow one step further, by combining our FlexUnit project with Ant.
In the FlexUnitExample.zip that Peter has on this blog entry, you'll find a
TestCalculator.as test-case, that has a number of test methods that are not
explicitly added by the test runner.
Peter's
blog entry is here:
Hope
that helps,
Best,
Steven
 |
Steven Webster Practice Director (Rich
Internet Applications) Adobe Consulting Westpoint, 4
Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44
(0) 131 338 6108
| |
-- What goes up, does come down.
__._,_.___
--
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
YAHOO! GROUPS LINKS
__,_._,___
|