[Swift] Provide test coverage reports for Swift code
Originator: | inbox |
|
Number: | rdar://17450338 |
Date Originated: | |
Status: | Open |
Resolved: | |
Product: | Developer Tools |
Product Version: | Xcode 6.0.1 |
Classification: | |
Reproducible: | Always |
This is available in Xcode as `Generate Test Coverage Files` in your targets settings. This doesn't apply to Swift currently.
Steps to Reproduce:
1) Enable ` `Generate Test Coverage Files`` in your target
2) Write Swift code
Expected Results:
To get coverage files for my Swift code
Actual Results:
There were no coverage files for the swift code.
Duplicates
Comments
ag9zfm9wZW5yYWRhci1ocmRyEgsSBVJhZGFyGICAgMD3n7wLDA
Please note:
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!
+1
Even i recommend this feature or enhancement. Any coverage data will Swift that can be generated from Xcode itself will provide better view of the s/w quality & would be critical for Product release teams to adopt the tool
Since my project is in swift, I need it very badly.Please fix and update on same as soon as possible
+1
+1. Any serious adoption of Swift is hindered by this omission.
+1
Would love to see this for use in CI
+1
Can you please implement it ?
+1
Come on Apple, if you want us to use Swift give us comparable tools!
+1 We need this!!!
+1
We need this :-)
+1
Is this issue fixed in Xcode 7 beta?
+1
It would be great to see a coverage report for my Swift project. I think it is fully tested. However, without a coverage report, I can not say for sure.
+1
Any serious development platform hás code coverage report Are you crazy? Release a new platform to substitute objective-c but without basic features
+1
+1
Any updates on this issue? Opened: 20820928
+1
Opened 20778655
+1
Would be great to get this sorted.
+1
It's a important feature to improve code quality, is there any update on this?
+1
Its like Apple doesn't believe in testing.
+1
Critical feature.
+ 1
Also, commenters please make a dup radar at bugreport.apple.com in addition to commenting.
+1
+1 Yes, please fix this bug! My workgroup can't use Swift until we can do code coverage.
Yes, please fix this bug! My workgroup can't use Swift until we can do code coverage.
Critical issue for CI
Code coverage is a very important metric that determines the stability of our applications. Please fix this as soon as possible!
+1 any update on this?
+1
Can you please fix this?