- Download FlexCover-SDK,http://code.google.com/p/flexcover/
- Install CoverageViewer.air:
- Please copy a sdk, take the edition 4.1 as an example, and then copy the sdk-modifications-4_0 in the download package into sdk, covering the original file.
- Add the revised SDK into the Flash Builder.
- Set the current SDK in use as copySDK.
- The operation you have done is successful if there is a file named *.cvm now in catalogue bin-debug.
- Run CoverageViewer and load the cvm file that has been generated.
- Run the demo and see the code coverage:
2012/11/08
To Test the Code Coverage in Flex with FlexCover
During the process of development, when you want to have a look at the current code coverage as whether there are any unexecuted codes, you can do it with FlexCover.
Here are the steps:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment