diff --git a/.gitignore b/.gitignore index 461fd8f2..dfbbc705 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ xcuserdata/ *.moved-aside *.xccheckout *.xcscmblueprint +coverage.xml ## Obj-C/Swift specific *.hmap diff --git a/Makefile b/Makefile index de6fb5f5..ea7ce187 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,9 @@ spm_build: ## Run tests test: - xcodebuild test -scheme NodeKit -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' | bundle exec xcpretty -c + xcodebuild test -scheme NodeKit -derivedDataPath Build/ -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' | bundle exec xcpretty -c + ./xcresultparser/xcresultparser -o xml Build/Logs/Test/*.xcresult > ./coverage.xml + rm -rf Build ## Created documentation by comments from code doc: diff --git a/xcresultparser/xcresultparser b/xcresultparser/xcresultparser new file mode 100755 index 00000000..a3823139 Binary files /dev/null and b/xcresultparser/xcresultparser differ