StatementCoverage for iOS development with CoverStory
来源:互联网 发布:昆山cnc编程培训 编辑:程序博客网 时间:2024/06/06 08:32
1.To work with CoverStory, first you need to set up your target to work with gcov. This requires turning on "Instrument Program Flow", "Generate Test Coverage Files" and linking with the gcov library.
2.Add -fprofile-arcs and -ftest-coverage to Other C Flags
3.set the "Application does not run in background" to YES in xcode->target->setting ,
4. Download coverStory in http://code.google.com/p/coverstory/downloads/list
5. Run the project
6. Click "Home" button to stop the project
7. Find the .gcno and .gcda files in /Users/yourusername/Library/Developer/Xcode/DerivedData/projectname/Build/Intermediates/projectname.build/Debug-iphonesimulator/target.build/Objects-normal/i386
8.Drag the i386 into the coverStory.app
tag
1.before refresh the coverStory ,you should stop the project
2.If you's test rewrite the .gcno and .gcda files,the coverStory will show the different.if you do not ,the cover story will show the previous result.
3.If you only wan to the result of current test,before you run the project,you should clear it,
Reference :
1.http://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html
2.http://code.google.com/p/coverstory/wiki/UsingCoverstory
- StatementCoverage for iOS development with CoverStory
- The Valuable Toolset for iOS Development
- 20 debugging tips for native development with Visual Studio
- Vuforia-Getting Started with Vuforia for Unity Development
- Beginning iPhone Development with Swift Exploring the iOS SDK 源代码
- iBeacon App Development with CoreLocation on Apple iOS 7/8
- iBeacon App Development with CoreLocation on Apple iOS 7/8
- 2016年第一包“ missing ios development signing identity for ....”
- What are the best resources for learning iOS development?
- 【iOS】Signing for requires a development team. Select a development team in the project editor. Code
- ios Signing for "" requires a development team. Select a development team in the project editor.
- Securing Development with PMD
- Android Development with OpenCV
- Phidgets How To: Creating a Windows CE 6.0 OS Design for Development With Phidgets Devices
- Rapid Portlet Development with WebSphere Portlet Factory: Step-by-Step Guide for Building Your Own P
- Program for Android in C/C++ with the Native Development Kit (if you dare)
- Cross Platform Development with Delphi XE7 & FireMonkey for Windows & MAC OS X
- Getting Started with Vuforia for Android Development 开始使用Vuforia进行Android开发
- Tomcat启动异常:Error starting static Resources
- 想法
- 块修改跟踪 (Block Change Tracking)
- PlayVideo
- Java学习必备单词
- StatementCoverage for iOS development with CoverStory
- 欧几里得扩展算法详解及POJ1061
- SEO做好网站优化的九个技巧
- hdu1043Eight
- 没有外链也有排名
- ajax学习篇6
- CF190 DIV1 B Ciel and Duel 最大费用流
- iOS 6.0屏幕旋转的问题
- 无线网络技术教学研究平台