Pytest-watch

Latest version: v4.2.0

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

4.2.0

--------------------------

- Enhancement: Show timestamp before running py.test ([66](https://github.com/joeyespo/pytest-watch/pull/66) - thanks, [xsteve][]!)
- Enhancement: Add watch single file feature ([80](https://github.com/joeyespo/pytest-watch/pull/80) - thanks, [touilleMan][]!)
- Bugfix: Add more common cache directories to `.gitignore`
- Bugfix: Handle SystemExit also when calling _run_pytest_collect ([60](https://github.com/joeyespo/pytest-watch/pull/60) - thanks, [blueyed][]!)
- Bugfix: Wait for pdb if it's passed to `pytest_args` ([64](https://github.com/joeyespo/pytest-watch/pull/64) - thanks, [remcohaszing][]!)
- Bugfix: Use the same Python interpreter for `pytest` when `ptw` is run outside of an activated virtual environment ([72](https://github.com/joeyespo/pytest-watch/pull/72) - thanks, [jacebrowning][]!)
- Bugfix: Fix `TypeError: can only concatenate tuple (not "list") to tuple`
- Bugfix: Show output when pytest is interrupted on config collection (dac01e9e585176c1da55b5588bdf86c8dd016c22) and document pytest exit code ([90](https://github.com/joeyespo/pytest-watch/pull/90) - thanks, [asford][]!)
- Readme: Add full command-line usage
- Readme: Add `README.rst` for better-looking README on PyPI ([83](https://github.com/joeyespo/pytest-watch/pull/83) - thanks, [apast][]!)
- Readme: Remove Gratipay :frowning_face: ([Article](https://gratipay.news/the-end-cbfba8f50981))
- Readme: Add [Say Thanks](http://saythanks.io/) badge :smiley:

4.1.0

--------------------------

- Enhancement: Speed up config collection
- Bugfix: Handle `KeyboardInterrupt` during inifile collection (fixes [52](https://github.com/joeyespo/pytest-watch/issues/52))
- Cleanup

4.0.0

--------------------------

- Breaking change: Re-order `watch` arguments
- Breaking change: Add parameterized `--spool` option for finer control and remove `--no-spool`
- Breaking change: Remove `py.test.watch` console script
- Enhancement: Report filesystem events on re-run (fixes [39](https://github.com/joeyespo/pytest-watch/issues/39))
- Enhancement: Allow `--ext=*` for watching any file type
- Enhancement: Run pytest from main thread, send `KeyboardInterrupt` on filesystem events, and wait for pytest to terminate before running next iteration (fixes [36](https://github.com/joeyespo/pytest-watch/issues/36))
- Enhancement: Add `--pdb` option, forwarding to pytest
- Enhancement: Add `--wait` option to wait for all tests to complete before re-running on filesystem events (fixes [21](https://github.com/joeyespo/pytest-watch/issues/21))
- Enhancement: Add `--afterrun` for running commands after pytest runs, regardless of whether it was interrupted ([46](https://github.com/joeyespo/pytest-watch/pull/46) - thanks, [blueyed][]! - and [fc471a457ae334e24422f939c04be25587d6d357](https://github.com/joeyespo/pytest-watch/commit/fc471a457ae334e24422f939c04be25587d6d357))
- Enhancement: Allow multiple `--ignore` args instead of one comma-separated list and forward them to pytest (fixes [48](https://github.com/joeyespo/pytest-watch/issues/48))
- Enhancement: Add `-V` as short version of `--version`
- Enhancement: Add `--config` and include `<directory>` list in pytest args (fixes [40](https://github.com/joeyespo/pytest-watch/issues/40))
- Enhancement: Improve config collection debuggability
- Bugfix: Fix config file collection on Python 2.6 and below ([47](https://github.com/joeyespo/pytest-watch/pull/47) - thanks, [lukaszb][]! - and [7f1508d908a61ade36312219d2414445e5b05686](https://github.com/joeyespo/pytest-watch/commit/7f1508d908a61ade36312219d2414445e5b05686))
- Bugfix: Re-run on directory changes (fixes [44](https://github.com/joeyespo/pytest-watch/issues/44))
- Update LICENSE year
- Update README
- Cleanup

3.10.0

---------------------------

- Bugfix: Fix Python 2 support.

3.9.0

--------------------------

- Bugfix: Handle py.test exit code 5 (no tests are run/collected) as pass ([42](https://github.com/joeyespo/pytest-watch/pull/42) - thanks, [blueyed][]!)
- Bugfix: Show config-related errors instead of silently exiting with code 2 ([45](https://github.com/joeyespo/pytest-watch/pull/45) - thanks, [blueyed][]!)

3.8.0

--------------------------

- Enhancement: Read configuration from `pytest.ini` ([30](https://github.com/joeyespo/pytest-watch/pull/30) - thanks, [bendtherules][]!)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.