Tagged articles
2 articles
Page 1 of 1
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
DevOps Cloud Academy
DevOps Cloud Academy
Aug 2, 2021 · Fundamentals

Classifying Unit Tests by Side Effects and Cleanup Strategies

The article explains how to categorize unit tests into side‑effect‑free and side‑effect‑ful groups, discusses the maintenance challenges of the latter, and recommends cleaning up each test’s side effects individually to enable reliable parallel execution and dynamic test environments.

Parallel Testingsoftware testing fundamentalstest cleanup
0 likes · 5 min read
Classifying Unit Tests by Side Effects and Cleanup Strategies