GithubHelp home page GithubHelp logo

Comments (6)

boxed avatar boxed commented on June 18, 2024

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.

boxed avatar boxed commented on June 18, 2024

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.

boxed avatar boxed commented on June 18, 2024

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.

boxed avatar boxed commented on June 18, 2024

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.

sobolevn avatar sobolevn commented on June 18, 2024

@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.

sobolevn avatar sobolevn commented on June 18, 2024

pytest -x -o addopts="" gives an awesome result of 19 seconds per loop.
Thanks again @boxed!

from mutmut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.