pytest-watch
pytest-watch copied to clipboard
Local continuous test runner with pytest and watchdog.
I have installed `pytest-watch` globally. I used to use this to run `py.test` from a virtual environment. Since I've updated to `4.0.0` this no longer works. As a workaround I...
Modern versions of pip can take into account supported Python versions during the resolution. This is especially useful when projects start dropping support for older Python interpreters. Setting a `python_requires`...
I have my test in `/app/test/test_foo.py` When I run `python -m pytest` from the `/app` directory I get a `sys.path` that includes both `/app/test` *and* `/app`. When I run `python...
I have to run `poetry run pytest` to make sure that pytest runs inside the project's venv. I couldn't get it to work with `ptw`. I tried `ptw --runner "poetry...
running tests with pytest I get pages of errors related to numpy etc. ``` tests/configlib_test.py::test_agents /usr/local/google/home/dcollier/dev/kzen/venv/lib/python3.9/site-packages/pandas_gbq/load.py:59: PendingDeprecationWarning: Client.dataset is deprecated and will be removed in a future version. Use a...
In my python project, I use `ptw`. My project is structured as follows: ``` . ├── Pipfile ├── Pipfile.lock ├── README.md ├── call_api.py ├── data │ └── Iris.csv ├── pytest.ini...
These options are only considered when no directories were provided in the command. When both `testpaths` and `watchpaths` are provided then the former are provided to pytest while the latter...
Hello, When I am running pytest-watch on a Django project. When pytest is wrapped by ptw, I get several error about logger which try to write on a closed file....
This change aims to address #68. Code uses `pathlib` to test whether or not file matches specified mask. `pathlib` has been added in Python 3.4. Not sure what's the go...
Hello I thought this was a no-brainer and will just work out of the box. But for some reason, `ptw` won't rerun tests inside docker when code changes, even if...