Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code coverage in monotouch

Is it possible to setup code coverage in Monotouch?

I found these articles that are explaining how to do it in XCode: http://softnoise.wordpress.com/2010/11/14/ios-running-unit-tests-with-code-coverage-in-hudson/ and http://supermegaultragroovy.com/2005/11/03/unit-testing-and-code-coverage-with-xcode/

In XCode what is needed is to do the following: in the “GCC 4.2 Preprocessing” section enable “Generate Test Coverage Files” and “Instrument Program Flow”, and add -lgcov to “Linking” section “other linker flags”.

I haven't found a way how to achieve the same with monotouch.

like image 651
Nikola Jelisavac Avatar asked Nov 12 '22 20:11

Nikola Jelisavac


1 Answers

It is not currently possible to do this.

like image 65
miguel.de.icaza Avatar answered Dec 18 '22 01:12

miguel.de.icaza