Git Product home page Git Product logo

Comments (4)

olzhasar avatar olzhasar commented on August 11, 2024 1

I struggled to make pytest-watch work so I built an alternative tool if anyone is interested:
https://github.com/olzhasar/pytest-watcher

from pytest-watch.

max-sixty avatar max-sixty commented on August 11, 2024 1

I've been using watchexec as a more general watcher, since pytest-watch no longer works for me.

(This was before I saw @olzhasar 's https://github.com/olzhasar/pytest-watcher, which looks great for python-only use cases, so definitely worth checking that out.)

One downside of watchexec is that it struggles with pytest's --pdb (watchexec/watchexec#209) — possibly due to pytest rather than watchexec — I'll check out pytest-watcher as a possible fix for that.

from pytest-watch.

jnns avatar jnns commented on August 11, 2024

Please excuse if this message is off-topic.

I tried running both pytest-watch and pytest-watcher with my Django project and both of them failed: a special settings_test.py that in turn imports from settings.py could not be imported correctly whereas pytest on its own runs perfectly fine.

I ended up installing entr and used it to run the test from a subdir without any errors:

$ cd tests/subdir
$ ls | entr pytest -x -v 

Hope this helps anyone looking for a quick solution to runing pytest in watch mode.

from pytest-watch.

meshantz avatar meshantz commented on August 11, 2024

This is seeming very abandoned at this point 😢
There has been no activity in this repo for almost 4 years.
The author's last activity on github was nearly a year ago, and completely unrelated to this project.

from pytest-watch.

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.