Skip to content

Commit

Permalink
SPT-1998 add test coverage convertation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrandrewsmith committed Apr 10, 2024
1 parent e0b4f00 commit a75f43b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ xcuserdata/
*.moved-aside
*.xccheckout
*.xcscmblueprint
coverage.xml

## Obj-C/Swift specific
*.hmap
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Binary file added xcresultparser/xcresultparser
Binary file not shown.

0 comments on commit a75f43b

Please sign in to comment.