An Introduction to Test-Driven Development

Written by thawkin3 | Published 2020/02/25
Tech Story Tags: test-driven-development | software-engineering | programming | javascript | unit-testing | testing | code-quality | tdd

TLDR Test-driven development (TDD) is a development strategy in which you write your tests first, then your app code. Product requirements are turned into very specific test cases, and then the software is improved so that the tests pass. There are several benefits to using TDD, but here are three: testing is built right into your development cycle, not as an afterthought. It makes sure your tests are testing the right things. Every branch is covered (in theory). Every time you’re writing your tests after your code, the tests feel more meaningful.via the TL;DR App

no story

Written by thawkin3 | Senior software engineer. Continuous learner. Educator.
Published by HackerNoon on 2020/02/25