Tagged articles
5 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Mar 29, 2025 · Backend Development

Master Data‑Driven API Testing with Pytest’s @parametrize

This guide explains why data‑driven testing is essential for API automation, introduces Pytest’s powerful @pytest.mark.parametrize decorator, and provides step‑by‑step examples—including single‑parameter, multi‑parameter, dynamic data generation, fixture integration, and external data sources—to boost test coverage and maintainability.

API testingData‑Driven TestingPython
0 likes · 6 min read
Master Data‑Driven API Testing with Pytest’s @parametrize
Test Development Learning Exchange
Test Development Learning Exchange
Jun 5, 2024 · Backend Development

10 Common Uses of pytest.mark.parametrize for Efficient Testing

The article presents ten practical examples of using pytest.mark.parametrize in Python, ranging from basic parameter lists and named parameters to nested parameters, type conversion, exception testing, fixture parametrization, large data sets, custom ID generation, and combining marks, illustrating how to write concise and maintainable test code.

parametrizepytesttesting
0 likes · 5 min read
10 Common Uses of pytest.mark.parametrize for Efficient Testing
MaGe Linux Operations
MaGe Linux Operations
Nov 14, 2023 · Fundamentals

Master Pytest: From Basics to Advanced Fixtures and Allure Reporting

This comprehensive guide walks you through Pytest fundamentals, basic usage, fixture mechanisms, conftest configuration, and advanced features such as Allure report beautification, parameterized data‑driven testing, and YAML integration, providing practical code examples for Python test automation.

AllurePythonfixtures
0 likes · 25 min read
Master Pytest: From Basics to Advanced Fixtures and Allure Reporting