Comments (6)
@joanromano How do you run the plugin multiple times for multiple schemes?
Running xcov.report(...)
multiple times within the same Dangerfile seems to be resulting in Danger only commenting with the markdown report of the last one specified.
from danger-xcov.
Hey @macdoum1 what I do is generate the markdown manually. You can do so by accessing your generated Report
's targets
property and then markdown_value
in each of them. You can find all that information in Xcov models
from danger-xcov.
from danger-xcov.
@joanromano I'm trying to accomplish exactly what you did. Can you give more specific example of how you managed to generate code coverage for different test targets, without Danger overwriting it?
from danger-xcov.
@Vadimkomis sorry I don't have that code with me anymore, but as I said before you should be able to access all the generated Reports and manually tweak them
from danger-xcov.
@joanromano are you talking about this function in the Xcov modals:
def markdown_value markdown = "## Current coverage for #{@name} is `#{@displayable_coverage}`\n" return markdown << "✅ *No files affecting coverage found*\n\n---\n" if @files.empty? markdown << "Files changed | - | - \n--- | --- | ---\n" markdown << "#{@files.map { |file| file.markdown_value }.join("")}\n---\n" markdown end
from danger-xcov.
Related Issues (20)
- Is it need maintain xcov_report folder HOT 4
- Invalid xcodebuild command execution on Xcode Bots CI HOT 4
- Plugin seems to break when used with xcov 1.1 HOT 2
- Unable to find any .xccoverage file (CircleCI) HOT 13
- Unable to find any .xccoverage file
- Test coverage shows 0.00%
- Not working anymore with Fastlane 2.86.0 HOT 7
- Improve handling a missing .xccoverage file HOT 3
- Add Support for Xcode 11 xcresult & xccovreport HOT 16
- xcov overall coverage report including ignore files and showing wrong coverage HOT 1
- Unable to find any .xccoverage file HOT 2
- Incompatible with Fastlane 2.137 HOT 12
- Dangerfile doesn't work HOT 2
- Failed to export xccovreport from xcresult HOT 14
- failed to load command: danger HOT 4
- 'Invalid Dangerfile' after Fastlane 2.172.0 update HOT 3
- `Dangerfile` file: undefined method `map' for false:FalseClass
- danger-xcov plugin keep complaining about the missing xccoverage file. HOT 1
- Integrate with Danger.swift file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from danger-xcov.