|
From: Luke B. <lb...@pa...> - 2007-09-13 17:36:25
|
Hey Mark, As usual, the answer is: It depends. With Flex, you can create modular projects or singular projects. We have found that using Flex Modules introduces some pretty significant complexities and when doing this, we choose to create an entirely independent test project that does not take advantage of runtime module loading. When building a Flex project that does not take advantage of Modules, we usually just create a different application root file and add a test package to the class path. This test package usually mirrors our main source path but contains only test and mock classes. You can see examples of this latter project structure by running project sprouts (http://code.google.com/p/projectsprouts) or by downloading the mxml project template ( http://projectsprouts.googlecode.com/svn/branches/release/sprouts/template/mxml-template.zip) and perusing it yourself. *Note: This template is intended to be parsed by sprouts before execution, so file names may be strange, but you can at least see the project structure. I hope that helps. Thanks, Luke Bayes http://www.asserttrue.com |