Can we use Sonarqube for code coverage with calabash test?
If not, which tool can be used for code coverage with calabash test ?
Can we use Sonarqube for code coverage with calabash test?
If not, which tool can be used for code coverage with calabash test ?
You can find here some tips at least for iOS dev. There are also some tips for the CI Setup with Calabash
Next to some confs in XCode it is basically this script Copied from the page
#!/bin/sh
set -ex
DERIVED_DATA_DIRECTORY=`cut -d "=" -f 2 cucumber.yml | sed 's:/Build/Products/Test-iphonesimulator/YOURAPP.app::'`
OBJECT_DIRECTORY=$DERIVED_DATA_DIRECTORY/Build/Intermediates/YOURAPP.build/Test-iphonesimulator/YOURAPP.build/Objects-normal/i386
gcovr/gcovr -r $PWD/../.. -e Libs/* $OBJECT_DIRECTORY