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.
It is not currently possible to do this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With