For a regular Flash / Flex application, I would include my unit tests in my application project (possibly in the source test folder along with my main src folder). Then I have two application entry points: the application, and it checks.
How do people do this for their Flex Library projects? You know what the SWC file creates. As far as I can tell, you cannot set an executable entry point for these projects (to run tests).
In Flash Builder 1 itself, you can record and run Flexunit tests from a library project.
IDE FlexUnit , , "Execute Flex Unit Tests". , FB. .
Flash Builder Flex/AIR, . Flex + .
/:
"libs" Flex, swc, Flex-.
Flex - > , , .
.
, mx: Application , , , .
SWC? ( , , -, , SWC , , - )
There is currently no way to test the library project. You must have the application as an entry point to the tests. This would be a great feature for Flash Builder 4.
Source: https://habr.com/ru/post/1716498/More articles:Disabling OpenMP - c ++Generics in Boo - Is there a C # where clause equivalent - genericsGet data from sql data source to asp.net controls - c #when is it better to use a c ++ template? - c ++How to get Flex Builder 3 to create two assemblies: one "-use-network = true", the other "-use-network = false"? - build-processwhen / where do we use PDO? - databaseEmbed Word spellcheck in a Windows Form application - c #catch (QuotaExceededException ex) and get something useful? - c #Почему родительский объект не сбой с ранее установленным дочерним объектом? - .netHow to distinguish between a web application or a standalone application.? - javaAll Articles