A Better Way To Code: Documentation Driven Development
Post contents
If you've spent much time in software development, you've undoubtedly heard the expression “test-driven development” or "TDD" for short.
The idea behind TDD is that you should write tests before programming an implementation. For example, say you want to implement a function called calculateUserScore based on a user's K/D in a video game. According to TDD, you should start by writing unit or integration tests to validate the input to an expected set of outputs.
Starting with tests ...
Read more at unicorn-utterances.com