Comments (5)
Hmm, that doesn't look that nice to me :P I think we can make something nicer very simply. Should be just looping over the cache.
The big downside to me is that I won't be able to brag that mutmut is ~1000 lines of code anymore (it's already a bit over that). This is not a very significant downside :P
from mutmut.
Exactly.
I am not suggesting copy and paste of PIT's report CSS @boxed, just throwing this idea of HTML report out there.
Thats why I wanted to hear some feedback. If this can help with some use case, even better, maybe good intergration with CI/CD tools, that would certanly be beneficial in my opinion.
EDIT: I like the idea of mimicking existing html outputs just for the sake of consistency plus existing outputs already have CI/CDs built around them.
from mutmut.
Having reports similar to PIT would definitely meet some of my use cases with larger projects!
Maybe we should adopt HTML reports similar to other python tools.
e.g. (pytest-html
, the coverage html
command, ect...)
Though I do like the simple styling of PIT :P
from mutmut.
Does anyone want to give this 20 minutes? Or should we wait till next time I have insomnia and I whip something up? :)
from mutmut.
I have merged my pretty rough html reports and made a release.
from mutmut.
Related Issues (20)
- Mutate str methods? HOT 1
- `mutmut show --all` flag
- Issue with mutmut mutation in presence of type hints HOT 16
- Invalid mutations involving positional-only and keyword-only arguments HOT 1
- Setting the --no-progress flag also removes output from a run.
- [Feature Request] Random Sampling of Mutations HOT 3
- Support new python's versions HOT 1
- TypeError: can only concatenate str (not "list") to str in mutmut 2.4.4 HOT 2
- --CI parameter HOT 5
- Use patch file on Windows never executes mutants
- Tests require the 'testdata' feature but it isn't listed in test_requirements.txt HOT 5
- Support mutating changed lines only HOT 7
- Release Request HOT 1
- Fails to skip lines when context.skip set True in pre_mutation HOT 3
- `mutmut show 0` shows a stacktrace for a ValueError
- Add support for `--test-file` to mimic `--test-dir` but for specific files. HOT 3
- Strange behaviour with dataclass mutation HOT 3
- Strange behaviour with multiple context managers. HOT 2
- I can't show the results HOT 1
- mutmut doesn't allow non-unicode characters HOT 12
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 mutmut.