Skip to content

Commit

Permalink
Add tests_watch command (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored Jan 19, 2024
2 parents b779ca3 + 0f61b1a commit 5b447ac
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,5 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
.DS_Store

.envrc
3 changes: 3 additions & 0 deletions python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
tests:
poetry run pytest tests/unit_tests

tests_watch:
poetry run ptw --now . -- -vv -x tests/unit_tests

integration_tests:
poetry run pytest tests/integration_tests

Expand Down
57 changes: 56 additions & 1 deletion python/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ types-psutil = "^5.9.5.16"
psutil = "^5.9.5"
freezegun = "^1.2.2"
pytest-subtests = "^0.11.0"
pytest-watcher = "^0.3.4"


[build-system]
Expand Down

0 comments on commit 5b447ac

Please sign in to comment.