All Projects → olzhasar → pytest-watcher

olzhasar / pytest-watcher

Licence: MIT license
Rerun pytest when your code changes

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pytest-watcher

Pytest Ui
Text User Interface for running python tests
Stars: ✭ 23 (-61.67%)
Mutual labels:  pytest, testing-tools
pytest-djangoapp
Nice pytest plugin to help you with Django pluggable application testing.
Stars: ✭ 35 (-41.67%)
Mutual labels:  pytest, testing-tools
pytest-localstack
Pytest plugin for local AWS integration tests
Stars: ✭ 66 (+10%)
Mutual labels:  pytest, testing-tools
Pytest Mimesis
Mimesis integration with the pytest test runner. This plugin provider useful fixtures based on providers from Mimesis.
Stars: ✭ 46 (-23.33%)
Mutual labels:  pytest, testing-tools
meerkat
Watch your following activities on Instagram.
Stars: ✭ 31 (-48.33%)
Mutual labels:  watcher
TimeBomb
Stops app usage after a period of time has passed starting from app build date.
Stars: ✭ 22 (-63.33%)
Mutual labels:  testing-tools
pytest-snail
Plugin for adding a marker to slow running tests. 🐌
Stars: ✭ 15 (-75%)
Mutual labels:  pytest
pytest-github-actions-annotate-failures
Pytest plugin to annotate failed tests with a workflow command for GitHub Actions
Stars: ✭ 58 (-3.33%)
Mutual labels:  pytest
smhasher
No description or website provided.
Stars: ✭ 65 (+8.33%)
Mutual labels:  testing-tools
SwiftFSWatcher
A simple easy to use / extend File System watcher using Swift
Stars: ✭ 35 (-41.67%)
Mutual labels:  watcher
python-ood
💠 Essential object oriented design (python, pytest, travisCI)
Stars: ✭ 38 (-36.67%)
Mutual labels:  pytest
BaseUrlManager
⛵ BaseUrlManager的设计初衷主要用于开发时,有多个环境需要打包APK的场景,通过BaseUrlManager提供的BaseUrl动态设置入口,只需打一次包,即可轻松随意的切换不同的开发环境或测试环境。在打生产环境包时,关闭BaseUrl动态设置入口即可。
Stars: ✭ 43 (-28.33%)
Mutual labels:  testing-tools
combinate
Combinatorics generator for JavaScript and Typescript.
Stars: ✭ 20 (-66.67%)
Mutual labels:  testing-tools
php-test-generator
Generate test cases for existing PHP files
Stars: ✭ 47 (-21.67%)
Mutual labels:  testing-tools
DirectoryWatcher
LIstener for changes in a specified folder
Stars: ✭ 33 (-45%)
Mutual labels:  watcher
fakerfactory
伪造数据的API服务
Stars: ✭ 53 (-11.67%)
Mutual labels:  testing-tools
xray-action
... a GitHub action to import test results into "Xray" - A complete Test Management tool for Jira.
Stars: ✭ 16 (-73.33%)
Mutual labels:  testing-tools
arelo
a simple auto reload (live reload) utility
Stars: ✭ 54 (-10%)
Mutual labels:  watcher
rfswarm
Robot Framework Swarm
Stars: ✭ 68 (+13.33%)
Mutual labels:  testing-tools
pytest-spark
pytest plugin to run the tests with support of pyspark
Stars: ✭ 65 (+8.33%)
Mutual labels:  pytest

A simple watcher for pytest

PyPI PyPI - Python Version GitHub

Overview

pytest-watcher is a tool to automatically rerun pytest when your code changes. It looks for the following events:

  • New *.py file created
  • Existing *.py file modified
  • Existing *.py file deleted

What about pytest-watch?

pytest-watch was around for a long time and was solving exactly this problem. Sadly, pytest-watch is not maintained anymore and not working for many users. I wrote this tool as a substitute

Install pytest-watcher

pip install pytest-watcher

Usage

Specify the path that you want to watch:

ptw .

or

ptw /home/repos/project

Any arguments after <path> will be forwarded to pytest:

ptw . -x --lf --nf

Compatibility

The utility is OS independent and should be able to work with any platform.

Code is tested for Python versions 3.6+

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].