Nov. 26, 2023, 5:59 p.m. | Claret Ibeawuchi

DEV Community dev.to





Table of Contents




  1. What is a Test?


    • 1.1 The Four Steps of Testing




  2. Application Testing in Python with Pytest


    • 2.1 Introduction to Pytest

    • 2.2 Key Features of Pytest

    • 2.3 Alternatives to Pytest



  3. Conventions for Python Test Discovery


  4. Getting Started with Pytest


    • 4.1 Prerequisites

    • 4.2 Installation




  5. Writing Tests with Pytest


    • 5.1 math_operations/math_operations.py

    • 5.2 tests/conftest.py

    • 5.3 tests/test_math_operations.py

    • 5.4 pytest.ini




  6. Understanding the Scripts


    • 6.1 math_operations/math_operations.py

    • 6.2 tests/conftest.py

    • 6.3 tests/test_math_operations.py

    • 6.4 pytest.ini




  7. Important Concepts


    • 7.1 Pytest Fixtures

    • 7.2 Pytest Marks and Configurations

    • 7.3 Command-line …

application contents discovery features guide installation introduction programming pytest python table test testing tests tutorial understanding writing

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York