You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation pytest-timeout is a nice plugin, especially for CI, to avoid tests which take too long.
Should:
Install the dep
Add the pyproject.toml config
Probably a simple as that.
The tricky question is the best interface. a --timeout=60 flag to usethis tool pytest is tempting. Arguably some timeout as a default is a good idea though. More thought needed on this one. A similar approach might be taken for other extensions e.g. pytest-emoji.
On the one hand, it's probably quite aggressive to install tons of (mostly overkill) pytest plugins. On the other hand, things that support best practice are good. I think a flag is probably the best balance but again; more thought needed.
Summary of desired enhancement
Implement a way to add pytest-timeout to a project.
The text was updated successfully, but these errors were encountered:
Motivation
pytest-timeout
is a nice plugin, especially for CI, to avoid tests which take too long.Should:
Probably a simple as that.
The tricky question is the best interface. a
--timeout=60
flag tousethis tool pytest
is tempting. Arguably some timeout as a default is a good idea though. More thought needed on this one. A similar approach might be taken for other extensions e.g.pytest-emoji
.On the one hand, it's probably quite aggressive to install tons of (mostly overkill) pytest plugins. On the other hand, things that support best practice are good. I think a flag is probably the best balance but again; more thought needed.
Summary of desired enhancement
Implement a way to add
pytest-timeout
to a project.The text was updated successfully, but these errors were encountered: