-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get unit tests stats due to missing test logs either in derived data or result bundle path #127
Comments
Hi Daniel! To customize that dir, you can append
and the loot at If you call |
Hey Bartosz! Thank you for the response. I prepared a vanilla Swift iOS app project, cleaned up the derived data and run Below some screenshots how the output looks like: Could you please provide your steps in order to get the unit tests coverage report via |
XCLogParser can capture building logs (compilation steps, errors, warnings etc.) but not unit tests results like code coverage. When you run tests in Xcode or |
That's interesting. According to the README file:
Apparently, I miss-understood "unit tests results" phrase then. Maybe we could avoid ambiguity and tweak the documentation to clearly point out what type of unit tests results are available? 😊 |
@ecamacho, do you remember what did we mean by "rests results" in a Readme file? |
bump on this - I was also under the impression xclogparser can parse unit tests results or maybe XCLogParser expect |
@ecamacho Do you have any knowledge about this issue? Thanks |
I'd like to gather the test coverage statistics for a given target in a project. The Xcode version that I use is 12.4. I did run tests for a project via
xcodebuild
command:According to the blog post mentioned in the README file, there should be
.xcactivitylog
log generated at the result bundle path, however, withXcode 12.4
, it is not. There's a.xcresult
file instead.I also checked the derived data and same results.
I tried to simply
parse
the build activity log, but no data about unit tests has been found:Could you please help me to figure out the way to get the unit tests coverage stats? 🙏
I will gladly update the documentation if needed 😊
The text was updated successfully, but these errors were encountered: