Screen2.0

 
 
 

hints & tips // 2010.11.05 08:50:58 [hh]

Testing und Debugging von "Flex": Code Coverage für "Flash Builder"-Projekte

Adobe Systems bietet auf "Adobe Labs" ein kostenloses Plug-in für "Adobe Flash Builder" namens "ActionScript Code Coverage Plug-in for Flash Builder", das - wie der Name bereits andeutet - die Generierung von Laufzeit-Statistiken erlaubt, welche Bereiche während der Ausführung berührt wurtden. Diese Information kann etwa verwendet werden, um die Optimierung von (automatisierten) Tests vorzunehmen, um möglichst viele (problematische) Bereiche abzudecken.

Die offiziellen Informationen auf "Adobe Labs": "Welcome to the prerelease of the Adobe ActionScript Code Coverage Plug-in for Adobe Flash Builder™, a tool that helps ActionScript and Adobe Flex developers understand exactly what code is executed while an application is running.

When added to Flash Builder, the plug-in provides a new Eclipse perspective that allows you to start/stop the code coverage tool, view generated reports, examine source code and save/load reports. Typically developers will use the code coverage tool to see which areas of code have not been exercised during execution so that additional testing requirements can be identified.

The tool provides detailed line coverage and method coverage reporting, as well as highlighting classes that are not linked into the application. You can use the ActionScript Code Coverage Plug-in for Flash Builder with applications developed in ActionScript 3, optionally using either Flex SDK 3.x or Flex SDK 4.x, targeting both Adobe Flash Player and Adobe AIR. A trial or licensed version of Adobe Flash Builder 4 Premium is required to use the ActionScript Code Coverage Plug-in."

Dirtekter Link: labs.adobe.com/ technologies/ ascode_coverage

 

Werbung