Comments (12)
I love this idea. Is this something you would be interested in adding? Otherwise I can probably add it sometime soon. I don't think it would be too difficult.
from diff_cover.
There's a chance I'll get to it on Friday, but if not I probably wouldn't until the new year.
How about we post here if either of us start on it so we don't duplicate work?
from diff_cover.
Sounds like a plan :-)
from diff_cover.
I think I've got some time for this today. I'll let you know how far I get.
from diff_cover.
@Bachmann1234 what do you think of this general approach? It seems to work as expected when playing with the fixtures.
Also, what do you want the interface to look like wrt different kinds of diffs? Separate options for each type?
from diff_cover.
Looks like we'll want an option for git path to appease GitPathTool as well.
from diff_cover.
@simon-weber looking reasonable. I think a big thing is going to be trying to find a way of validating the diffs. We have had issues with the quality tools where people try and pass in quality reports made in different ways than diff-quality can parse.
I mean, diff is a bit easier. But anything we can do to verify the diff is formatted well and to let the user know if we find problems.
from diff_cover.
Sounds good. We're running on my fork without problems right now, so it'll probably be some time until I get around to cleaning it up to merge 😁
from diff_cover.
@simon-weber not a problem at all. Life has been busy for me so take all the time you need :-)
from diff_cover.
Whoops, this won't work for really big diffs since it'll go over the shell limit. I guess it's cleaner to always provide it as a file -- people can always use process substitution to send it over the command line.
from diff_cover.
👍
from diff_cover.
Hey guys, are there any news regarding this? It would be extremely useful for scenarios in which cloning the repository is not feasible.
from diff_cover.
Related Issues (20)
- Few tests fails in rmtree HOT 6
- 7.3.1: test suite is failing in `tests/test_integration.py::TestDiffQualityIntegration::test_html_with_external_css` unit HOT 2
- Make chardet a optional dependency HOT 1
- In cpp file,The coverage of changed lines is not being counted HOT 2
- any ways to get all measured lines' numbers from json report HOT 2
- Feature request — Invert output to find flaky tests and help determine test failures HOT 1
- does this tool support C++ opencppcoverage? cppcoverage has html, cobertura reports. HOT 1
- urgent!! work environment!!No lines with coverage information in this diff. HOT 2
- new Github action for diff-cover HOT 1
- There is a folder code that cannot be counted. It has been analyzed for a long time, please help HOT 1
- 5 tests fail HOT 2
- Package has classifier "License :: Other/Proprietary License" - raising licensing flags for Sonatype HOT 3
- Enhancing Report Visualization in 'diff-cover' Project for Improved Code Analysis HOT 2
- 7.7.0: pytest is failing in `tests/test_violations_reporter.py::TestFlake8QualityReporterTest::test_file_does_not_exist` unit HOT 33
- Support ruff for quality checking HOT 1
- diff everything on removal HOT 11
- Diff between two coverage files instead of coverage file from branch HOT 2
- Running diff-quality with a tool which is not installed gives FIleNotFoundError rather than helpful "<tool> is not installed" error message HOT 2
- Add support for Pyright as a quality-checking tool HOT 2
- A little suggest about supporting Windows system commands
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 diff_cover.