Comments (6)
The first thing to cross my mind is that the crash is handled badly: it should have printed the file, line number (and preferably column) of the parse error. That's bug one. The other problem is probably trivial to understand and turn into a small unit test after that.
If you want to give it a shot the context variable should contain sufficient information for most of that data.
I'll try to look at it as soon as I can but I don't know when that will be.
from mutmut.
The dependency tree for poetry plus your project is pretty large I must say. Just installing into a venv is taking a long time!
from mutmut.
Well, it was trivial to fix the error output and the bug when I got everything up and running.
I have rolled a new release that fixes your problem. Your test suite is pretty slow, so I would be interested to see if you can have a use for pytest-testmon and if it makes mutation testing faster.
from mutmut.
Oh yea, and you might also want to try using the "features" branch of pytest for a while, there are some optimizations there that might be relevant. Or just use 3.6.0 which is the fastest in my measurements.
from mutmut.
@boxed thanks! Works now. But, yes. That's too slow.
I guess pytest -x --no:flake8 --no:isort --no:cov
will make it faster.
Currently measuring the regular execution time.
from mutmut.
pytest -x -o addopts=""
gives an awesome result of 19
seconds per loop.
Thanks again @boxed!
from mutmut.
Related Issues (20)
- `mutmut run 5` unintuitively does not schedule if cached
- Update mutmut cache directly after r
- Modifying mutmut cache directly HOT 2
- Pony throws IndexError on results command HOT 2
- 2.4.3 and 2.4.4 release are not tagged in repo
- Mutate str methods? HOT 1
- `mutmut show --all` flag
- Issue with mutmut mutation in presence of type hints HOT 3
- 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
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.