Tagged articles
123 articles
Page 1 of 2
Test Development Learning Exchange
Test Development Learning Exchange
May 1, 2026 · Backend Development

20 Essential Python API Testing Skills: From Manual to AI‑Powered Automation

This guide presents 20 practical Python skills for API testing, covering basic request handling, pytest fixtures, JSON validation, database helpers, framework abstraction, dynamic data generation, Allure reporting, CI pipeline integration, AI‑driven test case creation, intelligent retries, performance and security testing, and engineering best practices to transform manual testing into an intelligent, automated workflow.

AIAPI testingAllure
0 likes · 14 min read
20 Essential Python API Testing Skills: From Manual to AI‑Powered Automation
Test Development Learning Exchange
Test Development Learning Exchange
Apr 22, 2026 · Backend Development

Master Python API Automation with 10 Essential Decorators

This guide shows how to streamline Python API testing by using ten practical decorators—covering automatic retries, timing, token injection, detailed logging, environment skipping, schema validation, timeout enforcement, cleanup, HTTP recording, and concurrent stress testing—each illustrated with real‑world code examples and usage patterns.

API testingAutomationPython
0 likes · 18 min read
Master Python API Automation with 10 Essential Decorators
Woodpecker Software Testing
Woodpecker Software Testing
Apr 9, 2026 · Backend Development

Iterative Debugging of AI‑Generated Test Cases and Scripts (Part 4)

The article outlines a lightweight AI‑agent workflow that iteratively refines Python‑based Playwright/pytest test scripts by combining human review with AI‑generated suggestions, shows the exact system and user prompts, and provides a complete runnable example with database setup, request handling, and a failing test case to illustrate the debugging loop.

AI AgentPlaywrightPython
0 likes · 12 min read
Iterative Debugging of AI‑Generated Test Cases and Scripts (Part 4)
Test Development Learning Exchange
Test Development Learning Exchange
Apr 6, 2026 · Backend Development

15 Ready‑to‑Use API Testing Templates with Full Pytest Code Samples

This article provides a comprehensive collection of fifteen reusable API testing templates covering CRUD operations, authentication, idempotency, file upload security, pagination, WebSocket communication, rate limiting, GraphQL, gRPC, OpenAPI contracts, i18n, caching, circuit breaking, data masking, and version compatibility, each accompanied by ready‑to‑run pytest code examples.

API testingBackendPython
0 likes · 14 min read
15 Ready‑to‑Use API Testing Templates with Full Pytest Code Samples
Test Development Learning Exchange
Test Development Learning Exchange
Mar 25, 2026 · Backend Development

10 Hidden Pitfalls in Python Test Automation and How to Fix Them

This guide identifies ten common yet subtle traps that undermine Python test automation—such as using time.sleep, hard‑coded data, over‑mocking, weak assertions, environment mismatches, implicit dependencies, poor logging, ignored non‑functional requirements, coverage obsession, and lack of maintenance—and provides concrete, actionable solutions to build a robust, maintainable testing suite.

PythonSeleniumbest practices
0 likes · 11 min read
10 Hidden Pitfalls in Python Test Automation and How to Fix Them
Test Development Learning Exchange
Test Development Learning Exchange
Mar 24, 2026 · Artificial Intelligence

Build a Test‑Specific AI Agent to Auto‑Generate Pytest Cases and Analyze Allure Reports

This guide presents an end‑to‑end solution for creating a test‑focused AI agent that indexes project code and defect data, integrates a large language model via LangChain, generates compliant Pytest cases, parses Allure reports, and offers deployment tips for seamless PyCharm integration.

AI AgentAllureLangChain
0 likes · 13 min read
Build a Test‑Specific AI Agent to Auto‑Generate Pytest Cases and Analyze Allure Reports
Woodpecker Software Testing
Woodpecker Software Testing
Dec 28, 2025 · Backend Development

Adjusting GUI and API Test Cases with ChatGPT

This article explains how to handle leading and trailing spaces in user input by applying the .trim() method in both front‑end JavaScript validation functions and back‑end Java controllers, updates test data and cases, and verifies that all GUI and API tests pass successfully.

.trimAPIGUI
0 likes · 19 min read
Adjusting GUI and API Test Cases with ChatGPT
Test Development Learning Exchange
Test Development Learning Exchange
Dec 8, 2025 · Backend Development

Mastering HTTP Status Code Strategies for Reliable API Automation

Effective API automation requires nuanced handling of HTTP status codes—beyond the simplistic 200‑success rule—by categorizing 2xx, 4xx, and 5xx responses, asserting appropriate ranges, validating business fields, and integrating unified fixtures to detect real failures, client errors, and server defects.

API testingHTTP status codesassertions
0 likes · 7 min read
Mastering HTTP Status Code Strategies for Reliable API Automation
Test Development Learning Exchange
Test Development Learning Exchange
Nov 23, 2025 · Backend Development

Master JSON Extraction in Python Tests with jsonpath-ng

This guide explains why traditional dict.get() approaches fail on deep JSON, introduces the powerful jsonpath-ng library, demonstrates five common extraction patterns, shows how to integrate it into pytest automation with reusable utilities, and warns about typical pitfalls.

API testingJsonPathPython
0 likes · 7 min read
Master JSON Extraction in Python Tests with jsonpath-ng
Test Development Learning Exchange
Test Development Learning Exchange
Nov 19, 2025 · Artificial Intelligence

Generate Complete API Test Cases with AI and Python in Seconds

Learn how to automate API test data creation by leveraging a large language model to parse OpenAPI specifications and generate comprehensive pytest functions covering valid, missing, type‑error, boundary, and format scenarios, with a step‑by‑step Python script that produces ready‑to‑run test files.

AI-generated testsAPI testingOpenAPI
0 likes · 10 min read
Generate Complete API Test Cases with AI and Python in Seconds
Test Development Learning Exchange
Test Development Learning Exchange
Nov 16, 2025 · Operations

Automate Test Data Cleanup with pytest Fixtures and Yield

Effective test automation requires clean environments; this guide shows how pytest's fixture yield pattern can automatically set up and tear down resources—such as users, orders, and products—ensuring zero‑pollution, reliable CI runs, and maintainable code through scoped fixtures and best‑practice tips.

Pythonfixturepytest
0 likes · 6 min read
Automate Test Data Cleanup with pytest Fixtures and Yield
Test Development Learning Exchange
Test Development Learning Exchange
Oct 24, 2025 · Operations

How to Eliminate Dirty Data in API Automation Tests with Python & Pytest

Dirty data—unremoved intermediate test data—causes flaky API automation results, data conflicts, and CI/CD instability; this guide explains why it happens and provides three practical Python/Pytest solutions (database cleanup, fixture-based tracking, transaction rollbacks) plus CI integration and advanced snapshot techniques to ensure clean, repeatable test environments.

database cleanupdirty datapytest
0 likes · 10 min read
How to Eliminate Dirty Data in API Automation Tests with Python & Pytest
Test Development Learning Exchange
Test Development Learning Exchange
Jul 18, 2025 · Backend Development

Build a Flask Mock Payment Callback Service with Signature Verification

Learn how to create a local Flask-based mock payment callback server that validates signatures, returns standardized responses for platforms like WeChat and Alipay, includes a recommended project structure, detailed code examples, testing with pytest, and tips for extending functionality and exposing it via ngrok.

FlaskMock ServerPayment Callback
0 likes · 7 min read
Build a Flask Mock Payment Callback Service with Signature Verification
Test Development Learning Exchange
Test Development Learning Exchange
Jul 17, 2025 · Backend Development

Master Python Payment API Automation Testing: A Complete Guide

This guide walks you through building a full‑stack Python solution for automating payment interface tests, covering workflow validation, status checks, database assertions, third‑party integration, async callbacks, and secure signing, with detailed code examples and best‑practice recommendations.

API testingpayment automationpytest
0 likes · 9 min read
Master Python Payment API Automation Testing: A Complete Guide
Test Development Learning Exchange
Test Development Learning Exchange
Jul 12, 2025 · Backend Development

Build a Modern Python HTTPX API Testing Framework with Async Support

Learn how to create a modular Python API testing framework using httpx, pytest, and Allure, featuring multi‑environment configuration, synchronous and asynchronous requests, data‑driven and mock testing, comprehensive logging, and automated report generation, plus optional extensions for CI/CD, token authentication, and coverage analysis.

API testingAllureAsync
0 likes · 10 min read
Build a Modern Python HTTPX API Testing Framework with Async Support
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2025 · Backend Development

Build a Reusable Python API Test Framework with Assertions, DB Checks, and Pytest

This guide demonstrates how to create a reusable Python testing framework that encapsulates generic API response assertions, database query utilities, supports chainable calls, logging, exception handling, and integrates seamlessly with pytest or unittest, including installation steps, project structure, core code examples, and execution instructions.

AutomationPythonapi-testing
0 likes · 7 min read
Build a Reusable Python API Test Framework with Assertions, DB Checks, and Pytest
Test Development Learning Exchange
Test Development Learning Exchange
Jul 1, 2025 · Operations

10 Essential Python Automation Scripts for API, UI, and Performance Testing

This guide presents ten ready‑to‑use Python scripts covering API testing with Requests, data‑driven tests using DDT, Selenium UI automation, Locust performance testing, unified logging, pytest‑Allure reporting, CSV data handling, SMTP email alerts, Git automation, and coverage measurement, each with installation tips.

APIAutomationLocust
0 likes · 9 min read
10 Essential Python Automation Scripts for API, UI, and Performance Testing
Code Mala Tang
Code Mala Tang
May 13, 2025 · Backend Development

Master FastAPI Testing: Unit & Integration Tests with Pytest & HTTPX

This guide walks you through setting up a FastAPI testing environment, creating a project structure, writing both unit and integration tests using pytest, httpx, and FastAPI's TestClient, and running the tests to ensure reliable, maintainable applications.

BackendFastAPIhttpx
0 likes · 6 min read
Master FastAPI Testing: Unit & Integration Tests with Pytest & HTTPX
Python Programming Learning Circle
Python Programming Learning Circle
Apr 26, 2025 · Frontend Development

Building a Selenium + Pytest Automation Framework in Python

This tutorial walks through creating a modular Selenium automation framework with Pytest, covering project structure, utility modules, configuration handling, logging, Page Object Model implementation, test case writing, HTML reporting, and email distribution, all illustrated with complete Python code examples.

AutomationFrameworkPageObject
0 likes · 32 min read
Building a Selenium + Pytest Automation Framework in Python
Python Programming Learning Circle
Python Programming Learning Circle
Apr 14, 2025 · Fundamentals

Top 10 Essential Python Packages Every Developer Should Know

This article introduces the ten most essential and widely used Python packages—including NumPy, Pendulum, Pillow, MoviePy, Requests, Tkinter, PyQt, Pandas, Pywin32, and Pytest—explaining their core features, typical use cases, and providing code snippets to help developers quickly adopt them in various projects.

NumPyPackagesTkinter
0 likes · 12 min read
Top 10 Essential Python Packages Every Developer Should Know
Test Development Learning Exchange
Test Development Learning Exchange
Apr 13, 2025 · Backend Development

Mastering API Request Wrappers in Pytest: Reusable GET, POST, PUT, DELETE

Learn how to boost code reuse and maintainability in API automation by encapsulating common HTTP methods (GET, POST, PUT, DELETE, etc.) within a Pytest-friendly RequestUtil class, complete with logging, exception handling, session management, dynamic headers, and timeout support, plus practical test examples.

API testingAutomationHTTP requests
0 likes · 11 min read
Mastering API Request Wrappers in Pytest: Reusable GET, POST, PUT, DELETE
Test Development Learning Exchange
Test Development Learning Exchange
Apr 11, 2025 · Backend Development

Using Pytest Markers to Categorize and Run Test Cases

This article explains how to define, register, and use Pytest markers to classify test cases such as smoke, regression, and integration tests, demonstrates command‑line options for selective execution, and shows dynamic marker assignment with practical code examples.

PythonTest Selectionautomation testing
0 likes · 5 min read
Using Pytest Markers to Categorize and Run Test Cases
Test Development Learning Exchange
Test Development Learning Exchange
Apr 10, 2025 · Backend Development

How to Build a Flexible Core Executor for API Automation Testing with pytest and Allure

This article explains how to design and implement a high‑performance, configurable core executor for API automation testing, covering dependency installation, executor class creation, logging integration, parallel execution, report generation with Allure, and practical code examples for Python developers.

API testingAllureLoguru
0 likes · 7 min read
How to Build a Flexible Core Executor for API Automation Testing with pytest and Allure
Test Development Learning Exchange
Test Development Learning Exchange
Apr 4, 2025 · Backend Development

Implementing a Hot‑Reload Wrapper for API Automation Testing with Pytest

This article explains how to build a hot‑reload wrapper for API automation testing in Pytest, covering requirement analysis, technology selection, step‑by‑step implementation—including YAML test case definition, dynamic loader, reflection utility, and Pytest plugin—and demonstrates its practical usage to improve development efficiency.

API testingDynamic Loadinghot-reload
0 likes · 4 min read
Implementing a Hot‑Reload Wrapper for API Automation Testing with Pytest
Test Development Learning Exchange
Test Development Learning Exchange
Mar 30, 2025 · Fundamentals

Using Pytest Assertions and Allure Reports for API Automation Testing

This article explains how to leverage Pytest's flexible assertion mechanisms together with Allure's rich reporting features to build a clear, efficient API automation testing framework, covering basic and custom assertions, assertion libraries, report generation, project structure, test case writing, and execution steps.

PythonTesting frameworkpytest
0 likes · 8 min read
Using Pytest Assertions and Allure Reports for API Automation Testing
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
Mar 11, 2025 · Backend Development

Comprehensive API Testing Process and Implementation Guide

This article outlines a step‑by‑step API testing workflow—from defining objectives and analyzing requirements to designing test cases, setting up environments, executing tests with tools like Postman and pytest, analyzing results, integrating into CI/CD pipelines, and applying best practices for continuous improvement.

API testingBackendPostman
0 likes · 5 min read
Comprehensive API Testing Process and Implementation Guide
Test Development Learning Exchange
Test Development Learning Exchange
Feb 6, 2025 · Backend Development

Comprehensive Python API Testing Examples with Requests and Pytest

This article provides a collection of practical Python snippets demonstrating how to send GET and POST requests, validate status codes, response bodies, JSON schemas, handle headers, query parameters, file uploads, redirects, timeouts, sessions, authentication, rate limiting, and parameterized testing using the requests library and pytest framework.

API testingHTTPPython
0 likes · 14 min read
Comprehensive Python API Testing Examples with Requests and Pytest
Test Development Learning Exchange
Test Development Learning Exchange
Oct 12, 2024 · Fundamentals

Comprehensive Guide to Common pytest Assertion Techniques

This article introduces the core assertion methods in pytest, covering basic assertions, multiple assertions, exception handling, specific exception messages, list and dictionary checks, floating‑point approximations, string and tuple validation, subset verification, and log capture, each illustrated with clear Python code examples.

Pythonassertionspytest
0 likes · 8 min read
Comprehensive Guide to Common pytest Assertion Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Oct 9, 2024 · Backend Development

Understanding pytest Fixtures: Concepts, Scope, Dependencies, Parameterization, and Usage

This article explains pytest fixtures, covering their basic concept, definition, scope options (function, module, class, session), dependencies, parameterization, use of yield for cleanup, common usage scenarios such as data preparation, database connections, and mock objects, as well as custom markers and global registration.

Automationfixturepytest
0 likes · 7 min read
Understanding pytest Fixtures: Concepts, Scope, Dependencies, Parameterization, and Usage
Test Development Learning Exchange
Test Development Learning Exchange
Oct 3, 2024 · Backend Development

Using pytest‑xdist for Parallel and Distributed Testing in Python

This guide explains how to install, configure, and use the pytest‑xdist plugin to run Python tests in parallel across multiple processes or machines, covering basic -n options, auto detection, distributed node setup, example test code, configuration files, and advanced features such as custom process names and SSH tunneling.

Distributed TestingParallel TestingPython
0 likes · 6 min read
Using pytest‑xdist for Parallel and Distributed Testing in Python
Test Development Learning Exchange
Test Development Learning Exchange
Sep 27, 2024 · Backend Development

Master pytest: Simplify Python Testing with Powerful Features

This article provides a comprehensive, step‑by‑step guide to using pytest for Python unit testing, covering its simplicity, advanced assertions, parameterized tests, automatic discovery, plugin ecosystem, custom fixtures, command‑line options, exception handling, parallel execution, and detailed error reporting.

Parallel TestingPluginsfixtures
0 likes · 8 min read
Master pytest: Simplify Python Testing with Powerful Features
Test Development Learning Exchange
Test Development Learning Exchange
Sep 20, 2024 · Fundamentals

Using pytest-assume for Assumption‑Based Testing in Python

This guide introduces the pytest‑assume plugin, showing how to install it, write assumption‑based tests with code examples, handle failures, apply advanced features like decorators, combine with regular asserts, perform conditional checks, and customize error messages for more flexible Python testing.

assumptionpytestpytest-assume
0 likes · 8 min read
Using pytest-assume for Assumption‑Based Testing in Python
Test Development Learning Exchange
Test Development Learning Exchange
Sep 19, 2024 · Fundamentals

How to Use pytest‑rerunfailures to Rerun Flaky Tests

This guide explains how to install, configure, and apply the pytest‑rerunfailures plugin—including basic –r usage, example test files, configuration files, advanced custom rerun conditions, and the @pytest.mark.flaky decorator—to improve stability of intermittent Python test failures.

Automationflaky-testspytest
0 likes · 6 min read
How to Use pytest‑rerunfailures to Rerun Flaky Tests
Test Development Learning Exchange
Test Development Learning Exchange
Aug 22, 2024 · Backend Development

Python pytest examples for validating JSON API responses

This article presents a series of pytest‑based Python examples that demonstrate how to validate various aspects of JSON responses from an API, including field presence, nested structures, size, list length, uniqueness, pattern matching, date ranges, numeric ranges, element order, and field types.

json-validationpytest
0 likes · 7 min read
Python pytest examples for validating JSON API responses
Test Development Learning Exchange
Test Development Learning Exchange
Aug 21, 2024 · Backend Development

pytest-httpserver Tutorial: Installation and 10 Practical Testing Examples

This article introduces the pytest-httpserver plugin for launching a simple HTTP server during tests, provides installation instructions, and walks through ten practical examples covering GET, POST, headers, query parameters, request counting, error codes, redirects, file uploads, timeouts, and client certificate verification.

HTTP testingMock ServerPython
0 likes · 8 min read
pytest-httpserver Tutorial: Installation and 10 Practical Testing Examples
Test Development Learning Exchange
Test Development Learning Exchange
Aug 20, 2024 · Backend Development

Python Output and Reporting Techniques for API Testing (Beginner to Advanced)

This guide presents beginner to advanced Python techniques for formatting and reporting API test results, covering print statements, logging, JSON, markdown tables, pytest reports, unittest with HTMLTestRunner, Allure, coverage analysis, data visualization, and Selenium‑wire network capture, with practical code examples and best‑practice notes.

AutomationReportinglogging
0 likes · 11 min read
Python Output and Reporting Techniques for API Testing (Beginner to Advanced)
Test Development Learning Exchange
Test Development Learning Exchange
Aug 11, 2024 · Fundamentals

Advanced pytest Techniques: Parameterization, Fixtures, Plugins, and More

This article presents a comprehensive guide to pytest, covering parameterized tests, reusable fixtures, dynamic test generation, plugin extensions for coverage and HTML reports, logging capture, nested tests, test ordering, module‑level fixtures, exception handling, parallel execution, mocking, dynamic registration, custom command‑line options, and test insertion for debugging.

AutomationPluginsfixtures
0 likes · 7 min read
Advanced pytest Techniques: Parameterization, Fixtures, Plugins, and More
Test Development Learning Exchange
Test Development Learning Exchange
Jul 22, 2024 · Backend Development

Python API Testing Examples Using requests, unittest, pytest, and jsonschema

This article provides a series of Python code examples demonstrating how to perform API automation testing tasks—including GET and POST requests, authentication, file uploads, redirects, unit testing with unittest and pytest, response mocking with responses, and response schema validation with jsonschema—offering practical guidance for backend testing.

API testingPythonjsonschema
0 likes · 6 min read
Python API Testing Examples Using requests, unittest, pytest, and jsonschema
Test Development Learning Exchange
Test Development Learning Exchange
Jul 19, 2024 · Backend Development

Using Test Tags in Python unittest and pytest for Efficient Test Management

This article explains how to apply test tags in Python's unittest and pytest frameworks, providing multiple code examples that demonstrate custom attributes, class-level tags, markers, multi‑tags, parameterized tests, dynamic tagging, custom plugins, and report customization to improve test selection and organization in large automation suites.

pytesttest tagsunittest
0 likes · 6 min read
Using Test Tags in Python unittest and pytest for Efficient Test Management
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
Test Development Learning Exchange
Test Development Learning Exchange
Jun 3, 2024 · Backend Development

Efficient API Automation Testing Practices with Python

This article presents ten practical strategies for improving efficiency, maintainability, and reusability in Python API automation testing, covering session reuse, parameterization, mocking, exception handling, fixtures, concurrency, data‑driven tests, response validation, conditional execution, and scheduled test runs.

api-testingpytestrequests
0 likes · 8 min read
Efficient API Automation Testing Practices with Python
Test Development Learning Exchange
Test Development Learning Exchange
Jun 1, 2024 · Fundamentals

Using pytest fixtures for API automation testing in Python

This article demonstrates how to leverage pytest fixtures to manage resources such as authentication tokens, database connections, temporary directories, API clients, environment variables, services, configuration files, caches, user roles, and HTTP headers, providing reusable and maintainable test code examples.

api-testingfixturespytest
0 likes · 6 min read
Using pytest fixtures for API automation testing in Python
Test Development Learning Exchange
Test Development Learning Exchange
May 25, 2024 · Fundamentals

Advanced pytest Fixtures and Decorators for Test Setup, Skipping, Retries, Parametrization, and More

This article demonstrates how to use pytest fixtures and a collection of custom decorators to handle setup/teardown, conditional skipping, retry logic, parameterized tests, timing, error handling, logging, transaction management, API authentication, response validation, concurrency, data cleanup, performance monitoring, state checks, and test marking in Python testing.

decoratorsfixturespytest
0 likes · 11 min read
Advanced pytest Fixtures and Decorators for Test Setup, Skipping, Retries, Parametrization, and More
Python Programming Learning Circle
Python Programming Learning Circle
Apr 20, 2024 · Fundamentals

Comparison of Five Python Automation Testing Frameworks

This article compares five popular Python automation testing frameworks—Robot Framework, Pytest, UnitTest, Behave, and Lettuce—detailing their prerequisites, strengths, weaknesses, and suitability for different testing scenarios to help developers choose the right tool for functional, unit, or behavior‑driven testing.

AutomationLettucePython
0 likes · 12 min read
Comparison of Five Python Automation Testing Frameworks
Test Development Learning Exchange
Test Development Learning Exchange
Feb 10, 2024 · Frontend Development

Integrating Playwright with Test Frameworks, CI/CD, and an End‑to‑End Playwright + pytest E‑commerce Example

This article explains how Playwright can be integrated with testing frameworks, CI/CD pipelines, monitoring, logging, build tools, API testing, reporting, and distributed testing, and provides a complete Playwright‑pytest Python example that automates user registration, login, product browsing, ordering and post‑order processes for an e‑commerce site.

PlaywrightPythone‑commerce
0 likes · 8 min read
Integrating Playwright with Test Frameworks, CI/CD, and an End‑to‑End Playwright + pytest E‑commerce Example
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
Python Programming Learning Circle
Python Programming Learning Circle
Oct 31, 2023 · Fundamentals

Comparison of Five Python Automation Testing Frameworks: Robot Framework, Pytest, UnitTest, Behave, and Lettuce

This article reviews and compares five popular Python automation testing frameworks—Robot Framework, Pytest, UnitTest, Behave, and Lettuce—covering their prerequisites, advantages, disadvantages, and how they stack up against each other to help newcomers choose the right tool for functional, unit, or behavior‑driven testing.

AutomationLettucePython
0 likes · 14 min read
Comparison of Five Python Automation Testing Frameworks: Robot Framework, Pytest, UnitTest, Behave, and Lettuce
Test Development Learning Exchange
Test Development Learning Exchange
Oct 5, 2023 · Backend Development

Building an Efficient WebSocket Testing Framework with Python

This article details the construction of a Python-based WebSocket interface testing framework, focusing on test runner encapsulation, reporting/logging integration, data-driven testing methodologies, and test case/data isolation techniques to enhance automation efficiency and maintainability.

Backend DevelopmentData‑Driven TestingWebSocket Testing
0 likes · 5 min read
Building an Efficient WebSocket Testing Framework with Python
360 Quality & Efficiency
360 Quality & Efficiency
Jul 14, 2023 · Backend Development

Quick Guide to Generating Clear HTML Test Reports with unittestreport

This article introduces the open‑source unittestreport framework for Python, explains how to install it, configure report parameters, use multi‑threaded execution, enable email notifications, and extend it with HTMLTestRunner compatibility to produce customizable, visual HTML test reports for unittest and pytest projects.

HTML reportpytesttesting
0 likes · 8 min read
Quick Guide to Generating Clear HTML Test Reports with unittestreport
360 Quality & Efficiency
360 Quality & Efficiency
May 26, 2023 · Backend Development

Generating Clear Visual HTML Test Reports with unittestreport: Quick Start, Features, and Extensions

This article explains how to quickly generate clear, visual HTML test reports using the unittestreport framework, covering installation, basic usage, data‑driven testing, multithreading, email notifications, SSL fixes, and compatibility extensions with HTMLTestRunner for both unittest and pytest environments.

HTML test reportpytestpython testing
0 likes · 8 min read
Generating Clear Visual HTML Test Reports with unittestreport: Quick Start, Features, and Extensions
21CTO
21CTO
Mar 28, 2023 · Backend Development

Top 5 Python Test Automation Frameworks Compared: Pros, Cons & Best Use Cases

This article evaluates the five leading Python test automation frameworks—Robot Framework, Pytest, unittest (PyUnit), Behave, and Lettuce—detailing their installation requirements, key features, advantages, disadvantages, and suitability for functional, unit, or behavior‑driven testing to help developers choose the right tool.

LettucePythonbehave
0 likes · 12 min read
Top 5 Python Test Automation Frameworks Compared: Pros, Cons & Best Use Cases
JD Tech
JD Tech
Dec 9, 2022 · Fundamentals

Data-Driven Testing with Pytest: Concepts, Design, and Practical Examples

This article explains data-driven testing (DDT) concepts, design approaches, and practical implementation using the Pytest framework, covering test data creation, storage options, parameterization techniques, fixture integration, and example scripts to enhance test coverage, maintainability, and efficiency.

Data‑Driven Testingparameterizationpytest
0 likes · 12 min read
Data-Driven Testing with Pytest: Concepts, Design, and Practical Examples