#Test-Driven-Development
7 notas · última:
My Laws of Test Driven Development
Dennis Doomen lists 19 heuristics for TDD-focused tests, emphasizing practical test scope, functional names, clear arrange-act-assert structure, restrained mocking, and readable failures.
How to Write Programs Without Bugs
The article explains Test-Driven Development as writing tests before code, then building and refactoring feature by feature to reduce bugs, avoid overbuilding, and make changes safer.
How to write unit tests
The article explains what unit tests are, how they help with validation, refactoring, modularity, and speed, and suggests starting with scaffolding, mocking, structure, and test-driven development.
Introduction to Test-Driven-Development in React for Beginners
The article shows TDD in React by first writing tests for a Counter component, then implementing the component and an Increase button in App.js until the tests pass.
How to write unit tests
The page defines unit tests as automatic checks against expectations, explains their value for safety, modularity, and speed, and outlines scaffolding, mocking, structure, and TDD.
4 Tips for Mastering Test-Driven Development
The article explains TDD basics and four practical techniques: isolate external calls, test rollbackable migrations, watch code coverage, and use property-based testing to catch bugs earlier.
Test Driven Development With Node, Postgres, and Knex (Red/Green/Refactor)
The post walks through building a REST API with Node, Express, Knex, and PostgreSQL using TDD, from setup and migrations to tests and routes for CRUD operations.
