Back to Tags

#code quality

Unit Tests — Edge Cases First

Write unit tests for existing code in your test framework: a test plan, tests for the happy path, edge cases and failures, and a list of behaviors that look like bugs.

Nigel Yoshida

Refactor Plan — Safe Steps, Same Behavior

Plan a refactor you can ship safely: what's wrong with the code now, the target design, small steps that keep behavior unchanged, tests to add first, and how to roll each step back.

Nigel Yoshida

Code Review — Findings Ranked by Severity

Get a thorough code review of a diff or file: bugs, security issues, edge cases and readability problems, each ranked by severity with a suggested fix, plus what's good about the change.

Nigel Yoshida