Tdd

  • Published on
    Writing unit tests is an essential skill for any developer that has tremendous benefits to code quality: if done right. This article explains what they are, why we need them and how to overcome challenges that come with them.
  • Published on
    One of the most important things to remember when testing code is to provide a consistent environment for tests to run in. This is done by isolating the code from the outside world which not only makes for consistent results, but also results in failures in one module not having adverse effects on tests of another. Isolating code can seem like a challenging task, especially in the fast changing world of JavaScript.