pytest-codeblocks
pytest-sugar
pytest-codeblocks | pytest-sugar | |
---|---|---|
1 | 2 | |
92 | 1,250 | |
- | - | |
5.4 | 6.9 | |
3 months ago | 3 months ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
pytest-codeblocks
-
pytest-codeblocks: Test snippets from your READMEs
If you have code blocks in your README, you can pytest them with pytest-codeblocks. pip install pytest-codeblocks pytest --codeblocks README.md I just added better config support for it, especially if you'd like to conditionally skip testing some of the blocks (skipif).
pytest-sugar
-
What if writing tests was a joyful experience?
Same here. I get lovely little dopamine hits from passing tests, enhanced by pytest-sugar [1] giving everything a little green check mark.
[1] https://github.com/Teemu/pytest-sugar
- That moment when you have been spoiled with great tools and standards for 6 years and then get thrown into the pits of "I don't see what's wrong with this"
What are some alternatives?
pytest-flask-sqlalchemy - A pytest plugin for preserving test isolation in Flask-SQLAlchemy using database transactions.
nbval - A py.test plugin to validate Jupyter notebooks
pytest_httpx - pytest fixture to mock HTTPX
expecttest
pytest-langchain - ✅ Pytest-style test runner for langchain projects
assert_value_elixir - ExUnit's assert on steroids that writes and updates tests for you
pytest-local - Simple forking server for testing with reusable context.
pytest-inline - pytest-inline is a pytest plugin for writing inline tests.
pytest-describe - Describe-style plugin for the pytest framework
pytest-patterns - pytest-patterns is a plugin for pytest that provides a pattern matching engine optimized for testing.