StackPractices

testing

Practical resources about testing for software engineers.

79 results

Testing Strategies That Ship with Confidence

Testing is not just about catching bugs — it is about shipping faster, refactoring without fear, and documenting behavior through executable specs. A well-tested codebase reduces incident response time and onboarding friction for new developers.

Explore recipes for unit testing with mocks, integration testing with real dependencies, end-to-end testing with Playwright, and load testing with k6. Each pattern includes setup instructions, assertion strategies, and CI/CD integration tips.

intermediate

Clean Code Principles: Naming, Functions, Classes

A practical guide to clean code principles: meaningful names, small functions, single...

intermediate

Refactoring Techniques: A Complete Guide

Master the essential refactoring techniques — extract method, move function, guard clauses,...

intermediate

Technical Debt: Track, Prioritize, Pay Down

A working system for technical debt: debt register, impact-vs-effort prioritization, paydown...

advanced

Complete Guide to Go Concurrency

Go concurrency in production: goroutines, channels, context, sync, worker pools, pipelines, rate...

advanced

Complete Guide to Java Concurrency

Java concurrency in production: threads, locks, CompletableFuture, virtual threads, executors,...

advanced

Complete Guide to Python Asyncio in Production

Run asyncio in production: event loops, TaskGroup, cancellation, backpressure, debugging, and async...

intermediate

A/B Testing Guide: Design, Statistics and Pitfalls

A practical guide to A/B testing: hypothesis design, sample sizing, statistical analysis, tooling,...

intermediate

Feature Flags: Progressive Release and Safe Experimentation

A practical guide to feature flags: implementation patterns, progressive rollouts, kill switches,...

advanced

Chaos Engineering — Principles, Tools, and Safe Experiments

A practical guide to chaos engineering: build resilient systems by intentionally injecting...

chaos-engineering resilience fault-injection sre
intermediate

Complete Guide to CI/CD with GitHub Actions

Build CI/CD pipelines from scratch with GitHub Actions. Covers workflows, runners, matrix builds,...

intermediate

Blameless Postmortems: Learning from Incidents Without Blame

A practical guide to blameless postmortems: timelines, root causes, follow-ups, and building a...

postmortem blameless incident root-cause
intermediate

Secure Coding Practices — By Language and Pattern

A practical guide to secure coding practices across languages: input validation, memory safety,...

intermediate

JUnit 5: Extensions, Parameterized Tests, Dynamic Tests

Practical JUnit 5 guide: extensions, parameterized and dynamic tests, test interfaces, conditional...

advanced

Property-Based Testing Guide

Property-based testing with Hypothesis (Python) and fast-check (TypeScript): generate cases, catch...

guide property-based-testing hypothesis fast-check
intermediate

Pytest in Production Guide

Pytest for production: advanced fixtures, custom markers, parametrization, xdist parallelism,...

advanced

Testcontainers: Real Dependencies in Integration Tests

Master Testcontainers for integration testing with real databases, message brokers, and APIs....

guide testcontainers integration-testing docker
intermediate

Vitest for React: Component, Hook, and Integration Testing

Test React components, hooks, and user flows with Vitest and Testing Library: jsdom setup, mocking,...

beginner

Test-Driven Development (TDD) — A Practical Workflow

Learn TDD step by step: write a failing test, make it pass, refactor. Red-Green-Refactor with real...

intermediate

Software Testing Strategy Guide

A practical guide to building a layered testing strategy with unit, integration, contract, and...

No results found.