#quality
Posts tagged with “quality”.
11 posts
Code Coverage: What It Measures and What It Misses
Coverage shows which lines the tests execute, not whether they assert anything. Learn the metrics, the traps, and how to use it well.
Code Coverage Myths: What the Number Really Tells You
Coverage measures which lines ran, not whether they were verified. Learn what it is good for, what it hides, and how to use it sensibly.
End-to-End Testing: A Practical Guide
End-to-end tests cover the critical user journeys. Learn the selectors, the flakiness fixes, and how to keep the suite small and reliable.
Integration vs Unit Tests: What Each One Catches
Unit tests isolate one piece; integration tests verify pieces work together. Learn the trade-offs and how to balance the two.
Property-Based Testing: Testing Rules, Not Examples
Property-based tests assert invariants that hold for all inputs, and the framework generates the cases. Learn how it finds bugs example tests miss.
Regression Testing: Making Sure Bugs Stay Fixed
Regression tests guard against old bugs returning. Learn how to write them, what to cover, and how to keep the suite from growing forever.
Static Analysis: Linters, Type Checkers and Formatters
Static analysis finds a bug before the code runs. Learn the categories, the tools, and how to add them to a pipeline without friction.
Test Data Management: Fixtures, Factories and Fakes
Test data is the hidden cost of a test suite. Learn factories, fixtures, seeding, and how to keep tests independent and fast.
Test-Driven Development: A Practical Introduction
TDD is a short red-green-refactor cycle that shapes design as much as it verifies code. Learn the loop, the benefits, and the common objections.
Unit Testing Basics: What to Test and How
Unit tests verify one piece of behaviour in isolation. Learn what makes a good test, the arrange-act-assert structure, and common mistakes.
Evaluating AI Outputs: A Practical Framework
A practical framework for evaluating LLM outputs: golden sets, programmatic checks, LLM-as-judge with rubrics, agreement metrics, and evals in CI.