🌐
GitHub
github.com › pluralsight › intro-to-pytest
GitHub - pluralsight/intro-to-pytest: An introduction to PyTest with lots of simple, hackable examples · GitHub
November 15, 2024 - An introduction to PyTest with lots of simple, hackable examples (currently Python 2.7 / 3.6+ compatible).
Starred by 396 users
Forked by 159 users
Languages: Python
Author: hectorcanto
🌐
GitHub
github.com › pydantic › pytest-examples
GitHub - pydantic/pytest-examples: Pytest plugin for testing examples in docstrings and markdown files. · GitHub
Here's an example basic usage - lint then run examples in the foo_dir directory and the bar_file.py file. import pytest from pytest_examples import find_examples, CodeExample, EvalExample @pytest.mark.parametrize('example', find_examples('foo_dir', ...
Author: pydantic
🌐
GitHub
github.com › pytest-dev › pytest
GitHub - pytest-dev/pytest: The pytest framework makes it easy to write small tests, yet scales to support complex functional testing · GitHub
September 8, 2026 - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing - pytest-dev/pytest
🌐
GitHub
github.com › robintw › pytest_examples
GitHub - robintw/pytest_examples: Simple Pytest examples
Simple Pytest examples. Contribute to robintw/pytest_examples development by creating an account on GitHub.
Starred by 2 users
Forked by 3 users
Languages: Python 100.0% | Python 100.0%
🌐
GitHub
github.com › poldrack › pytest_tutorial
GitHub - poldrack/pytest_tutorial: simple pytest tutorial · GitHub
Researchers often wish to know how to implement software testing for data science applications. This tutorial provides an example of how to get started with software testing in the context of data science, using the pytest library for Python.
Starred by 70 users
Forked by 27 users
Languages: Python 99.5% | Makefile 0.5%
Starred by 19 users
Forked by 64 users
Languages: Python
🌐
GitHub
github.com › cdiener › pytest_tutorial
GitHub - cdiener/pytest_tutorial: A small example project for my PyTest tutorial. · GitHub
November 22, 2022 - A small example project for my PyTest tutorial. Contribute to cdiener/pytest_tutorial development by creating an account on GitHub.
Author: cdiener
🌐
GitHub
github.com › jashburn8020 › python-testing-with-pytest
GitHub - jashburn8020/python-testing-with-pytest: Excerpts from the book Python Testing with Pytest by Brian Okken · GitHub
A small plugin and is a good example on which to base your own plugins · Allows you to change the emoji using hook functions · one of the few pytest plugins that demonstrates how to add hook functions to plugin code
Author: jashburn8020
Find elsewhere
🌐
GitHub
github.com › augustogoulart › awesome-pytest
GitHub - augustogoulart/awesome-pytest: A curated list of awesome pytest resources · GitHub
Setting Up Testing with pytest and uv - A tutorial on setting up a Python testing workflow with pytest and uv.
Author: augustogoulart
Starred by 36 users
Forked by 4 users
Languages: Python
🌐
GitHub
github.com › changhsinlee › pytest-mock-examples
GitHub - changhsinlee/pytest-mock-examples: Examples for the blog post on pytest-mock
Examples for the blog post on pytest-mock. Contribute to changhsinlee/pytest-mock-examples development by creating an account on GitHub.
Starred by 80 users
Forked by 18 users
Languages: Python 100.0% | Python 100.0%
🌐
GitHub
github.com › pytest-dev › pytest › blob › main › doc › en › example › simple.rst
pytest/doc/en/example/simple.rst at main · pytest-dev/pytest
If you have a test helper function called from a test you can use the pytest.fail marker to fail a test with a certain message. The test support function will not show up in the traceback if you set the __tracebackhide__ option somewhere in the helper function. Example:
Author: pytest-dev
🌐
GitHub
gist.github.com › 3386951
Examples of pytest, especially funcargs · GitHub
Examples of pytest, especially funcargs. GitHub Gist: instantly share code, notes, and snippets.
Starred by 56 users
Forked by 44 users
Languages: Python
🌐
Reddit
reddit.com › r/learnpython › pytest github example (request)
r/learnpython on Reddit: Pytest github example (request)
March 14, 2022 -

Can anyone link me a github repo for a semi complex web-app (Flask preferred but any will do) with excellent implementation of Pytest? I am looking to write tests for my own web-app and I have read through the docs and a few guides as well, but It'd be very helpful to have a real world example to look through as well to help use best practices/organization. I could of course google this on my own, but I want to make sure the repo I use as an example is truly a good example.

Thanks!

🌐
GitHub
github.com › jlaska › pytest-github
GitHub - jlaska/pytest-github: Plugin for py.test that associates tests with github issues using a marker · GitHub
The following example demonstrates using the github marker to influence the outcome of a known failing test. @pytest.mark.github('https://github.com/some/open/issues/1') def test_will_xfail(): assert False
Starred by 18 users
Forked by 8 users
Languages: Python
Author: ferdinandvanwyk
Author: drocco007