ls *.py | entr pytest — run tests when files change

ls *.py | entr pytest — run tests when files change

ls *.py | entr pytest

entr is a UNIX-native file watcher that re-runs a command when any file in its stdin list changes. Pairing it with `ls *.py` gives lightweight test re-running without any config files.

#unix #watch #pytest #tdd #entr

Descargar

⬇ GIF (139,7 KB) ⬇ MP4 (Convirtiendo...)

Incrustar

[![ls *.py | entr pytest — run tests when files change](https://media.agentgif.com/preseed/entr-pytest/demo.gif)](https://agentgif.com/@agentgif/entr-pytest)
<a href="https://agentgif.com/@agentgif/entr-pytest"><img src="https://media.agentgif.com/preseed/entr-pytest/demo.gif" alt="ls *.py | entr pytest — run tests when files change" width="1200"></a>
<iframe src="https://agentgif.com/embed/mG7OQUCC/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="mG7OQUCC"></div><script src="https://agentgif.com/widget.js" async></script>
por @agentgif · · 9 vistas