tavern
pytest-describe
tavern | pytest-describe | |
---|---|---|
1 | 1 | |
992 | 202 | |
0.7% | 0.5% | |
8.2 | 5.0 | |
5 days ago | 3 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tavern
-
Looking for fast (non-electron) alternative for Postman to test REST API in Windows
At work we are really not fond of postman, at all. We like Tavern quite a lot https://github.com/taverntesting/tavern
pytest-describe
-
My Python testing style guide – Stargirl (Thea) Flowers
I've found pytest to encourage tests with really long method names, examples from the post:
* test_refresh_failure
* test_refresh_with_timeout
These get even longer like test_refresh_with_timeout_when_username_is_not_found for example.
pytest-describe allows for a much nicer testing syntax. There's a great comparison here: https://github.com/pytest-dev/pytest-describe#why-bother
TL;DR, this is nicer:
def describe_my_function():
def with_default_arguments():
What are some alternatives?
pytest-recording - A pytest plugin that allows recording network interactions via VCR.py
pytest-clarity - A plugin to improve the output of pytest with colourful unified diffs
pytest-mongodb - pytest plugin for mocking MongoDB with fixtures
pytest-insta - A practical snapshot testing plugin for pytest.
dirty-equals - Doing dirty (but extremely useful) things with equals.
pudb - Full-screen console debugger for Python
gabbi - Declarative HTTP Testing for Python and anything else
kubetest - Kubernetes integration testing in Python via pytest
pytest-langchain - ✅ Pytest-style test runner for langchain projects
VCR.py - Automatically mock your HTTP interactions to simplify and speed up testing
insomnia - The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
pytest-sugar - a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)