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
Thanks to pytest's detailed assertion introspection, you can simply use plain assert statements. See getting-started for more examples. Detailed info on failing assert statements (no need to remember self.assert* names) ... For full documentation, including installation, tutorials and PDF ...
Starred by 13.8K users
Forked by 3.1K users
Languages Python
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 - These examples are intended to be self-explanatory to a Python developer, with minimal setup - In addition to Python 2.7 or 3.6+, you'll also need pytest and the pytest-mock plugin installed to use all these examples, which you can install by running:
Starred by 393 users
Forked by 160 users
Languages Python
Videos
27:06
Automated Testing in Python with pytest, tox, and GitHub Actions ...
11:30
PyTest With Eric 06 - Automated testing with GitHub Actions - YouTube
23:02
Unit testing Python code using Pytest + GitHub Actions - YouTube
30:42
How to Automate AWS Testing with pytest and GitHub Actions - YouTube
GitHub
github.com › poldrack › pytest_tutorial
GitHub - poldrack/pytest_tutorial: simple pytest tutorial · GitHub
==================================================================================== test session starts ==================================================================================== platform darwin -- Python 3.8.3, pytest-5.4.1, py-1.8.1, pluggy-0.13.1 rootdir: /Users/poldrack/Dropbox/code/pytest_tutorial plugins: cov-2.10.0 collected 9 items tests/test_1_smoketest.py .
Starred by 70 users
Forked by 27 users
Languages Python 99.5% | Makefile 0.5%
GitHub
github.com › AutomationPanda › tau-intro-to-pytest
GitHub - AutomationPanda/tau-intro-to-pytest: Introduction to pytest: A Test Automation University Course · GitHub
This repository contains example code for Introduction to pytest, a Test Automation University course taught by Pandy Knight.
Starred by 146 users
Forked by 100 users
Languages Python
GitHub
github.com › hectorcanto › pytest-samples
GitHub - hectorcanto/pytest-samples: A collection of testing examples using pytest and many other libreris · GitHub
It has been continued as a central repository of test samples in Python with pytest and other tools · It has a Markdown based presentation in Spanish and English plus a set of test samples using a bare minimum source code. Check out the test samples at tests/ Check out the slides at slides (markdown or PDF) Check out the dummy code at source/
Starred by 20 users
Forked by 6 users
Languages Python 92.2% | Makefile 7.8%
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
Excerpts from the book Python Testing with Pytest by Brian Okken - jashburn8020/python-testing-with-pytest
Starred by 82 users
Forked by 32 users
Languages Python 99.3% | Shell 0.7% | Python 99.3% | Shell 0.7%
GitHub
github.com › PacktPublishing › pytest-Quick-Start-Guide
GitHub - PacktPublishing/pytest-Quick-Start-Guide: pytest Quick Start Guide, published by Packt
Starred by 64 users
Forked by 27 users
Languages Python 100.0% | Python 100.0%
GitHub
github.com › cbohara › pytest
GitHub - cbohara/pytest: Notes from Python Testing with pytest by Brian Okken
Notes from Python Testing with pytest by Brian Okken ################################ Ch 1 Getting started with pytest ################################ testing strategy unit test checks a small bit of code in isolation from the rest of the system integration test checks a subsystem - several classes or functions system test end-to-end test that checksa ll the system under test in an environment as close to the end-user environment as possible functional test checks a single bit of functionality of a system ex: a test that checks how well we add or delete or update a task item in Tasks subcutan
Author cbohara
GitHub
github.com › smarie › python-pytest-cases
GitHub - smarie/python-pytest-cases: Separate test code from test cases in pytest. · GitHub
This is the readme for developers. The documentation for users is available here: https://smarie.github.io/python-pytest-cases/
Starred by 370 users
Forked by 41 users
Languages Python
GitHub
github.com › shashikumarraja › pytest_tutorial
GitHub - shashikumarraja/pytest_tutorial · GitHub
Starred by 27 users
Forked by 11 users
Languages Python
pytest
docs.pytest.org › en › stable › contents.html
Full pytest documentation - pytest documentation
pytest @ GitHub · Issue Tracker · PDF Documentation · Back to top · Download latest version as PDF · Get Started · Install pytest · Create your first test · Run multiple tests · Assert that a certain exception is raised · Group multiple tests in a class ·
GitHub
gist.github.com › jakelevi1996 › 2d249adbbd2e13950852b80cca42ed02
Pytest guide for unit testing in Python · GitHub
Pytest guide for unit testing in Python. GitHub Gist: instantly share code, notes, and snippets.
GitHub
github.com › pydantic › pytest-examples
GitHub - pydantic/pytest-examples: Pytest plugin for testing examples in docstrings and markdown files. · GitHub
import pytest from pytest_examples import find_examples, CodeExample, EvalExample @pytest.mark.parametrize('example', find_examples('foo_dir', 'bar_file.py'), ids=str) def test_docstrings(example: CodeExample, eval_example: EvalExample): ...
Starred by 165 users
Forked by 21 users
Languages Python 98.3% | Makefile 1.7%
pytest
docs.pytest.org › en › stable › talks.html
Talks and Tutorials - pytest documentation
pytest @ GitHub · Issue Tracker · PDF Documentation · Back to top · pytest Quick Start Guide, by Bruno Oliveira (2018). Python Testing with pytest, by Brian Okken (2017). Python Testing with pytest, Second Edition, by Brian Okken (2022). Training: pytest - simple, rapid and fun testing with Python, Freya Bruhin, PyConDE 2022 ·
GitHub
github.com › geoffreynyaga › django-and-djangorestframework-pytest-tutorial
GitHub - geoffreynyaga/django-and-djangorestframework-pytest-tutorial: Testing Django and Django Rest Framework with Pytest · GitHub
Testing Django and Django Rest Framework with Pytest - geoffreynyaga/django-and-djangorestframework-pytest-tutorial
Starred by 17 users
Forked by 10 users
Languages Python
pytest
docs.pytest.org › en › stable › how-to › index.html
How-to guides - pytest documentation
pytest @ GitHub · Issue Tracker · PDF Documentation · Back to top · How to invoke pytest · How to write and report assertions in tests · How to use fixtures · How to mark test functions with attributes · How to parametrize fixtures and test functions ·
GitHub
github.com › pytest-dev › pytest-bdd
GitHub - pytest-dev/pytest-bdd: BDD library for the pytest runner · GitHub
An example test for a blog hosting software could look like this. Note that pytest-splinter is used to get the browser fixture.
Starred by 1.4K users
Forked by 237 users
Languages Python 98.4% | Gherkin 1.2%