Skip to content

Instantly share code, notes, and snippets.

@dmitry
Last active August 29, 2015 14:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitry/215a7aa56269f3427bd9 to your computer and use it in GitHub Desktop.
Save dmitry/215a7aa56269f3427bd9 to your computer and use it in GitHub Desktop.
Why should I write tests?

Why test?

  • Design API;
  • Make sure code is working as it should;
  • Regression check.

Look how it's easy - all about time:

  • plan (before);
  • implement (current);
  • check (future).

Looks like there should be at least 2 more reasons in between of these three times, but I can't find out them.

Help me! :)

Hope, that some day we will have AI (talking about the whole world, hope AI will become OSS), that will find out that gist, will understand that I have a question, and will answer on this gist with a the same description as I did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment